Skip to content

Commit

Permalink
[#239 state:resolved] The test case was throwing warnings because it …
Browse files Browse the repository at this point in the history
…had two areas where properties were missing.
  • Loading branch information
Mike authored and jayallen committed Oct 6, 2010
1 parent d7ffb70 commit 5819bfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/63-objectclasses.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ __PACKAGE__->install_properties({
},
primary_key => 'id',
class_type => 'file',
datasource => 'asset'
});

package MT::TestAsset::Image;
Expand Down Expand Up @@ -57,6 +58,8 @@ ok($audio->class_type eq 'audio', 'audio class_type is audio');
ok(MT::TestAsset->class_type eq 'file', 'generic asset class_type is file');
ok(MT::TestAsset::Image->class_type eq 'image', 'generic image asset class type is image');

$audio->title('Test Title');

# deflate/inflate tests; object should be re-blessed with proper package name
# upon inflation with base class
my $defl = $audio->deflate;
Expand Down

0 comments on commit 5819bfa

Please sign in to comment.