Forward port test fix.

This commit is contained in:
Colin Kuskie 2009-08-11 20:51:51 +00:00
parent 1d19fd15a8
commit f52a3f9bdd

View file

@ -126,6 +126,8 @@ my $event6 = $cal->addChild($properties3, $properties3->{id});
sleep 2;
my $event6a = $event6->addRevision({ title => 'Event with storage', });
my $event6a = $event6->addRevision({ title => 'Event with storage', }, undef, { skipAutoCommitWorkflows => 1, });
ok($session->id->valid($event6a->get('storageId')), 'addRevision gives the new revision a valid storageId');
isnt($event6a->get('storageId'), $event6->get('storageId'), '... and it is different from the previous revision');
my $versionTag2 = WebGUI::VersionTag->getWorking($session);
WebGUI::Test->tagsToRollback($versionTag2);