Fix class names in tests.
Give each test at least 1 test in the plan, otherwise Test::Harness barfs.
This commit is contained in:
parent
f8901ffe34
commit
936e258bcd
8 changed files with 23 additions and 22 deletions
|
|
@ -31,11 +31,11 @@ $versionTag->set({name=>"Photo Test"});
|
|||
my $maker = WebGUI::Test::Maker::HTML->new;
|
||||
my $gallery
|
||||
= $node->addChild({
|
||||
className => "WebGUI::Asset::Wobject::PhotoGallery",
|
||||
className => "WebGUI::Asset::Wobject::Gallery",
|
||||
});
|
||||
my $album
|
||||
= $gallery->addChild({
|
||||
className => "WebGUI::Asset::Wobject::PhotoAlbum",
|
||||
className => "WebGUI::Asset::Wobject::GalleryAlbum",
|
||||
});
|
||||
my $photo
|
||||
= $gallery->addChild({
|
||||
|
|
@ -50,4 +50,4 @@ END {
|
|||
|
||||
#----------------------------------------------------------------------------
|
||||
# Tests
|
||||
plan tests => 0;
|
||||
plan tests => 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue