Don't delete the groups used in the Post test, they're needed. May want to make
mock groups in the future. Also clean up some commented out things from Collaboration.t.
This commit is contained in:
parent
0d689afa4c
commit
e20e6061f2
2 changed files with 0 additions and 8 deletions
|
|
@ -122,8 +122,6 @@ END {
|
|||
$postingUser->delete();
|
||||
$otherUser->delete();
|
||||
$groupIdEditUser->delete();
|
||||
$groupToEditPost->delete();
|
||||
$groupIdEditGroup->delete();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -38,12 +38,7 @@ my $session = WebGUI::Test->session;
|
|||
# Do our work in the import node
|
||||
my $node = WebGUI::Asset->getImportNode($session);
|
||||
|
||||
# Grab a named version tag
|
||||
#my $versionTag = WebGUI::VersionTag->getWorking($session);
|
||||
#$versionTag->set({name => 'Collaboration Test'});
|
||||
|
||||
my $collab = $node->addChild({className => 'WebGUI::Asset::Wobject::Collaboration', editTimeout => '1'});
|
||||
#$versionTag->commit();
|
||||
|
||||
# Test for a sane object type
|
||||
isa_ok($collab, 'WebGUI::Asset::Wobject::Collaboration');
|
||||
|
|
@ -62,6 +57,5 @@ TODO: {
|
|||
END {
|
||||
# Clean up after thyself
|
||||
$collab->purge();
|
||||
#$versionTag->rollback();
|
||||
}
|
||||
# vim: syntax=perl filetype=perl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue