Commit eb086d78 authored by Jérome Perrin's avatar Jérome Perrin

ERP5: test for deletion on category publication workflow

parent ae39bdc2
......@@ -2107,6 +2107,12 @@ class TestERP5WebCategoryPublicationWorkflow(ERP5TypeTestCase):
self.doActionFor(self.category, 'expire_action')
self.assertEqual('expired_published', self.category.getValidationState())
def test_category_embedded_delete(self):
"""On category publication workflow, deletion are "real"
"""
self.doActionFor(self.category, 'delete_action')
self.assertEqual([], self.category.getParentValue().contentValues())
def test_suite():
suite = unittest.TestSuite()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment