Drop tests for putting an Article below a calendar. This is now permitted.
This commit is contained in:
parent
e69a26db8c
commit
4056d7019e
1 changed files with 1 additions and 5 deletions
|
|
@ -57,7 +57,7 @@ use Data::Dumper;
|
||||||
use WebGUI::Asset::Wobject::Calendar;
|
use WebGUI::Asset::Wobject::Calendar;
|
||||||
use WebGUI::Asset::Event;
|
use WebGUI::Asset::Event;
|
||||||
|
|
||||||
plan tests => 14 + scalar @icalWrapTests;
|
plan tests => 12 + scalar @icalWrapTests;
|
||||||
|
|
||||||
my $session = WebGUI::Test->session;
|
my $session = WebGUI::Test->session;
|
||||||
|
|
||||||
|
|
@ -82,10 +82,6 @@ isa_ok($cal, 'WebGUI::Asset::Wobject::Calendar');
|
||||||
my $event = $cal->addChild({className=>'WebGUI::Asset::Event'});
|
my $event = $cal->addChild({className=>'WebGUI::Asset::Event'});
|
||||||
isa_ok($event, 'WebGUI::Asset::Event','Can add Events as a child to the calendar.');
|
isa_ok($event, 'WebGUI::Asset::Event','Can add Events as a child to the calendar.');
|
||||||
|
|
||||||
my $article = $cal->addChild({className=>"WebGUI::Asset::Wobject::Article"});
|
|
||||||
isnt(ref $article, 'WebGUI::Asset::Wobject::Article', "Can't add an article as a child to the calendar.");
|
|
||||||
ok(! defined $article, '... addChild returned undef');
|
|
||||||
|
|
||||||
my $dt = WebGUI::DateTime->new($session, mysql => '2001-08-16 8:00:00', time_zone => 'America/Chicago');
|
my $dt = WebGUI::DateTime->new($session, mysql => '2001-08-16 8:00:00', time_zone => 'America/Chicago');
|
||||||
|
|
||||||
my $vars = {};
|
my $vars = {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue