almost done fixing addRevision changes
This commit is contained in:
parent
3ce9198220
commit
1866c593ea
25 changed files with 186 additions and 199 deletions
|
|
@ -304,10 +304,6 @@ my $session = WebGUI::Test->session;
|
|||
is $revAsset->revisionDate, $now, 'revisionDate set correctly on new revision';
|
||||
is $revAsset->title, 'test title 43', 'data fetch from database correct';
|
||||
is $revAsset->revisedBy, $session->user->userId, 'revisedBy is current session user';
|
||||
is $revAsset->tagId, $tag->getId, 'tagId is current working tagId';
|
||||
ok $revAsset->isLocked, 'new revision is locked';
|
||||
is $revAsset->isLockedBy, '7', 'locked by userId 7';
|
||||
is $revAssetDb->isLockedBy, '7', 'database jives with asset data';
|
||||
my $count = $session->db->quickScalar('SELECT COUNT(*) from assetData where assetId=?',[$testId2]);
|
||||
is $count, 2, 'two records in the database';
|
||||
addToCleanup($tag);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue