Remove autocommit from addRev in Story, because it committed the
story before the keywords were set, which messed up searching. Adjust tests to request autocommit on all submitted stories.
This commit is contained in:
parent
46db295296
commit
4226ef211f
5 changed files with 14 additions and 3 deletions
|
|
@ -130,6 +130,7 @@ is($story->get('isHidden'), 1, 'by default, stories are hidden');
|
|||
$story->update({isHidden => 0});
|
||||
is($story->get('isHidden'), 1, 'stories cannot be set to not be hidden');
|
||||
is($story->get('state'), 'published', 'Story is published');
|
||||
$story->requestAutoCommit;
|
||||
|
||||
{
|
||||
##Version control does not alter the current object's status, fetch an updated copy from the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue