Remove extra arguments to rollback. Not sure how those got added
in the first place. Fix the WikiPage, which was not cleaning up after itself.
This commit is contained in:
parent
1ceb7abb02
commit
0a7e06edca
4 changed files with 9 additions and 7 deletions
|
|
@ -77,6 +77,6 @@ TODO: {
|
||||||
|
|
||||||
END {
|
END {
|
||||||
# Clean up after thy self
|
# Clean up after thy self
|
||||||
$versionTag->rollback($versionTag->getId);
|
$versionTag->rollback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,15 +44,17 @@ is($article, undef, "Can't add an Article wobject as a child to a Wiki Page.");
|
||||||
# See if the duplicate method works
|
# See if the duplicate method works
|
||||||
my $wikiPageCopy = $wikipage->duplicate();
|
my $wikiPageCopy = $wikipage->duplicate();
|
||||||
isa_ok($wikiPageCopy, 'WebGUI::Asset::WikiPage');
|
isa_ok($wikiPageCopy, 'WebGUI::Asset::WikiPage');
|
||||||
|
my $thirdVersionTag = WebGUI::VersionTag->new($session,$wikiPageCopy->get("tagId"));
|
||||||
|
|
||||||
TODO: {
|
TODO: {
|
||||||
local $TODO = "Tests to make later";
|
local $TODO = "Tests to make later";
|
||||||
ok(0, 'Lots and lots to do');
|
ok(0, 'Lots and lots to do');
|
||||||
}
|
}
|
||||||
|
|
||||||
END {
|
END {
|
||||||
# Clean up after thy self
|
# Clean up after thy self
|
||||||
$versionTag->rollback($versionTag->getId);
|
$versionTag->rollback();
|
||||||
$secondVersionTag->rollback($secondVersionTag->getId);
|
$secondVersionTag->rollback();
|
||||||
|
$thirdVersionTag->rollback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,6 @@ TODO: {
|
||||||
|
|
||||||
END {
|
END {
|
||||||
# Clean up after thy self
|
# Clean up after thy self
|
||||||
$versionTag->rollback($versionTag->getId);
|
$versionTag->rollback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,6 @@ TODO: {
|
||||||
|
|
||||||
END {
|
END {
|
||||||
# Clean up after thy self
|
# Clean up after thy self
|
||||||
$versionTag->rollback($versionTag->getId);
|
$versionTag->rollback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue