Cleanup the AdSpace created for testing.
This commit is contained in:
parent
10b832b820
commit
bd48b97a6e
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ $session->request->env->{REMOTE_ADDR} = '10.0.0.1';
|
|||
$session->request->env->{HTTP_USER_AGENT} = 'Mozilla/5.0';
|
||||
|
||||
my $adSpace = WebGUI::AdSpace->create($session, {name=>"Tim Robbins"});
|
||||
WebGUI::Test->addToCleanup($adSpace);
|
||||
$ad=WebGUI::AdSpace::Ad->create($session, $adSpace->getId, {"type" => "text"});
|
||||
isa_ok($ad,"WebGUI::AdSpace::Ad");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue