leave notes as to future tests that need to be written for getBackToSiteURL

This commit is contained in:
Colin Kuskie 2007-11-12 05:20:52 +00:00
parent dac78e161c
commit 484bc40569

View file

@ -51,7 +51,7 @@ my @getRefererUrlTests = (
);
use Test::More;
plan tests => 54 + scalar(@getRefererUrlTests);
plan tests => 56 + scalar(@getRefererUrlTests);
my $session = WebGUI::Test->session;
@ -350,6 +350,12 @@ is(
q!getBackToSiteURL: Root returns you to the default Asset!
);
TODO: {
local $TODO = 'extra tests for getBackToSiteURL';
ok(0, 'test a child of the import node');
ok(0, 'test a child of the media folder');
}
my $statefulAsset = WebGUI::Asset->getRoot($session)->addChild({ className => 'WebGUI::Asset::Snippet' });
$statefulAsset->{_properties}{state} = 'archived';