From 35f1937be2fbe0b156141671d57ba485ba3f44f9 Mon Sep 17 00:00:00 2001
From: Tristan Cavelier <tristan.cavelier@nexedi.com>
Date: Fri, 29 Jan 2016 10:02:13 +0100
Subject: [PATCH] fix testERP5Core actions do not match expected

---
 product/ERP5/tests/testERP5Core.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testERP5Core.py b/product/ERP5/tests/testERP5Core.py
index d15ce05774..0c90323c5e 100644
--- a/product/ERP5/tests/testERP5Core.py
+++ b/product/ERP5/tests/testERP5Core.py
@@ -230,7 +230,8 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
                            {'title': 'Undo', 'id': 'undo'}],
                 'object': [],
                 '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_sort': [{'title': 'Sort', 'id': 'sort_on'}],
                 'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}],
@@ -250,6 +251,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
     expected = {'folder': [],
                 'global': [],
                 'object': [],
+                'object_jump': [{'id': 'jump_related_object', 'title': 'Related Objects'}],
                 'object_search': [{'title': 'Search', 'id': 'search'}],
                 'object_sort': [{'title': 'Sort', 'id': 'sort_on'}],
                 'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}],
@@ -265,6 +267,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
     expected = {'folder': [],
                 'global': [],
                 'object': [],
+                'object_jump': [{'id': 'jump_related_object', 'title': 'Related Objects'}],
                 'object_search': [{'title': 'Search', 'id': 'search'}],
                 'object_sort': [{'title': 'Sort', 'id': 'sort_on'}],
                 'object_ui': [{'title': 'Modify UI', 'id': 'list_ui'}],
-- 
2.30.9