done with addRevision tests

remaining fails are other stuff and I need to move on
This commit is contained in:
Doug Bell 2010-12-03 15:00:42 -06:00
parent 7c14d1e6c4
commit f43541c5c9
7 changed files with 9 additions and 8 deletions

View file

@ -89,6 +89,10 @@ $expect = sortThreads( sub { $b->get('revisionDate') <=> $a->get('revisionDate')
cmp_deeply( $page, $expect, 'getThreadsPaginator sort by no default' )
or diag( "GOT: " . Dumper $page ), diag( "EXPECTED: " . Dumper $expect );
undef $collab2;
# clear scratch to reset sort
$session->scratch->delete($collab->getId.'_sortBy');
$session->scratch->delete($collab->getId.'_sortDir');
# sortBy default from asset
$collab->update({
sortBy => 'assetData.revisionDate',