@@ -117,7 +117,7 @@ public function testSerialize()
117
117
$ expected = '[{"parent_id":null,"module_name":"Magento_Backend","sort_index":null,"depends_on_config":null, '
118
118
. '"id":"Magento_Backend::system3","resource":"Magento_Backend::system3","path":"","action":null, '
119
119
. '"depends_on_module":null,"tooltip":"","title":"Extended System", '
120
- . '"sub_menu":[{"parent_id":null,"module_name":"Magento_Backend","sort_index":null, '
120
+ . '"target":null," sub_menu":[{"parent_id":null,"module_name":"Magento_Backend","sort_index":null, '
121
121
. '"depends_on_config":null,"id":"Magento_Backend::system3_acl","resource":"Magento_Backend::system3_acl", '
122
122
. '"path":"","action":"admin\/backend\/acl\/index","depends_on_module":null,"tooltip":"","title":"Acl", '
123
123
. '"target":null,"sub_menu":null}]}] ' ;
@@ -132,7 +132,7 @@ public function testUnserialize()
132
132
$ serializedMenu = '[{"parent_id":null,"module_name":"Magento_Backend","sort_index":null, '
133
133
. '"depends_on_config":null,"id":"Magento_Backend::system3","resource":"Magento_Backend::system3", '
134
134
. '"path":"","action":null,"depends_on_module":null,"tooltip":"","title":"Extended System", '
135
- . '"sub_menu":[{"parent_id":null,"module_name":"Magento_Backend","sort_index":null, '
135
+ . '"target":null," sub_menu":[{"parent_id":null,"module_name":"Magento_Backend","sort_index":null, '
136
136
. '"depends_on_config":null,"id":"Magento_Backend::system3_acl","resource":"Magento_Backend::system3_acl", '
137
137
. '"path":"","action":"admin\/backend\/acl\/index","depends_on_module":null,"tooltip":"","title":"Acl", '
138
138
. '"target":null,"sub_menu":null}]}] ' ;
@@ -152,6 +152,7 @@ public function testUnserialize()
152
152
'depends_on_module ' => null ,
153
153
'tooltip ' => '' ,
154
154
'title ' => 'Extended System ' ,
155
+ 'target ' => null ,
155
156
'sub_menu ' =>
156
157
[
157
158
[
@@ -167,6 +168,7 @@ public function testUnserialize()
167
168
'tooltip ' => '' ,
168
169
'title ' => 'Acl ' ,
169
170
'sub_menu ' => null ,
171
+ 'target ' => null
170
172
],
171
173
],
172
174
],
0 commit comments