fix test cleanup for AdSpace, add leading 0 test to Form::Text
This commit is contained in:
parent
15345a0232
commit
d3fbe15ca7
2 changed files with 7 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ SKIP: {
|
||||||
|
|
||||||
skip "Unable to load WebGUI::AdSpace", $numTests-1 unless $loaded;
|
skip "Unable to load WebGUI::AdSpace", $numTests-1 unless $loaded;
|
||||||
|
|
||||||
my $adSpace = WebGUI::AdSpace->create($session, {name=>"Alfred"});
|
$adSpace = WebGUI::AdSpace->create($session, {name=>"Alfred"});
|
||||||
|
|
||||||
isa_ok($adSpace, 'WebGUI::AdSpace');
|
isa_ok($adSpace, 'WebGUI::AdSpace');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,12 @@ my $testBlock = [
|
||||||
expected => 'EQUAL',
|
expected => 'EQUAL',
|
||||||
comment => 'single word',
|
comment => 'single word',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key => 'Text4',
|
||||||
|
testValue => '0leadingzero',
|
||||||
|
expected => 'EQUAL',
|
||||||
|
comment => 'leading zero',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
my $formType = 'text';
|
my $formType = 'text';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue