Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenkling committed Jan 20, 2015
1 parent e6c82b8 commit 93133ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ploneintranet/workspace/tests/test_content_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def test_default_workflow(self):
wftool = api.portal.get_tool('portal_workflow')
self.assertIn('ploneintranet_workflow',
wftool.listWorkflows())
# But no default workflow should be set
self.assertFalse(wftool.getDefaultChain())
# Default workflow should be set
self.assertTrue(wftool.getDefaultChain())

def test_placeful_workflow(self):
"""
Expand All @@ -29,7 +29,7 @@ def test_placeful_workflow(self):
'Document',
'document-portal'
)
self.assertFalse(wftool.getWorkflowsFor(document))
self.assertTrue(wftool.getWorkflowsFor(document))

# A document in the workspace should have the workspace workflow
workspace_folder = api.content.create(
Expand Down

0 comments on commit 93133ad

Please sign in to comment.