File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
dev/tests/integration/testsuite/Magento/Search/Block Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,14 @@ function ($object) {
44
44
$ result
45
45
);
46
46
47
+ foreach ($ actual as &$ value ) {
48
+ unset($ value ['query_id ' ]);
49
+ }
50
+
51
+ foreach ($ expected as &$ value ) {
52
+ unset($ value ['query_id ' ]);
53
+ }
54
+
47
55
self ::assertEquals (
48
56
$ expected ,
49
57
$ actual
@@ -62,7 +70,6 @@ public function getTermsDataProvider()
62
70
[
63
71
'1st query ' =>
64
72
[
65
- 'query_id ' => '1 ' ,
66
73
'query_text ' => '1st query ' ,
67
74
'num_results ' => '1 ' ,
68
75
'popularity ' => '5 ' ,
@@ -76,7 +83,6 @@ public function getTermsDataProvider()
76
83
],
77
84
'2nd query ' =>
78
85
[
79
- 'query_id ' => '2 ' ,
80
86
'query_text ' => '2nd query ' ,
81
87
'num_results ' => '1 ' ,
82
88
'popularity ' => '10 ' ,
@@ -90,7 +96,6 @@ public function getTermsDataProvider()
90
96
],
91
97
'3rd query ' =>
92
98
[
93
- 'query_id ' => '3 ' ,
94
99
'query_text ' => '3rd query ' ,
95
100
'num_results ' => '1 ' ,
96
101
'popularity ' => '1 ' ,
You can’t perform that action at this time.
0 commit comments