fix typo in ad type checking
This commit is contained in:
parent
2c41d60933
commit
ae51c67dbe
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ SKIP: {
|
|||
isa_ok($ad,"WebGUI::AdSpace::Ad");
|
||||
|
||||
isa_ok($ad->session, 'WebGUI::Session');
|
||||
isa($ad->get('type'), 'text', 'property set during object creation');
|
||||
is($ad->get('type'), 'text', 'property set during object creation');
|
||||
|
||||
my $ad2 = WebGUI::AdSpace::Ad->new($session, $ad->getId);
|
||||
cmp_deeply($ad2, $ad, "new returns an identical object to the original what was created");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue