Commit 35f1937b authored by Tristan Cavelier's avatar Tristan Cavelier

fix testERP5Core actions do not match expected

parent 77d31fe3
...@@ -230,7 +230,8 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -230,7 +230,8 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
{'title': 'Undo', 'id': 'undo'}], {'title': 'Undo', 'id': 'undo'}],
'object': [], 'object': [],
'object_action': [{'id': 'post_query', 'title': 'Post a Query'}], 'object_action': [{'id': 'post_query', 'title': 'Post a Query'}],
'object_jump': [{'id': 'jump_query', 'title': 'Queries'}], 'object_jump': [{'id': 'jump_related_object', 'title': 'Related Objects'},
{'id': 'jump_query', 'title': 'Queries'}],
'object_search': [{'title': 'Search', 'id': 'search'}], 'object_search': [{'title': 'Search', 'id': 'search'}],
'object_sort': [{'title': 'Sort', 'id': 'sort_on'}], 'object_sort': [{'title': 'Sort', 'id': 'sort_on'}],
'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}], 'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}],
...@@ -250,6 +251,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -250,6 +251,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
expected = {'folder': [], expected = {'folder': [],
'global': [], 'global': [],
'object': [], 'object': [],
'object_jump': [{'id': 'jump_related_object', 'title': 'Related Objects'}],
'object_search': [{'title': 'Search', 'id': 'search'}], 'object_search': [{'title': 'Search', 'id': 'search'}],
'object_sort': [{'title': 'Sort', 'id': 'sort_on'}], 'object_sort': [{'title': 'Sort', 'id': 'sort_on'}],
'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}], 'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}],
...@@ -265,6 +267,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -265,6 +267,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
expected = {'folder': [], expected = {'folder': [],
'global': [], 'global': [],
'object': [], 'object': [],
'object_jump': [{'id': 'jump_related_object', 'title': 'Related Objects'}],
'object_search': [{'title': 'Search', 'id': 'search'}], 'object_search': [{'title': 'Search', 'id': 'search'}],
'object_sort': [{'title': 'Sort', 'id': 'sort_on'}], 'object_sort': [{'title': 'Sort', 'id': 'sort_on'}],
'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}], 'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}],
......
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