@@ -115,7 +115,6 @@ public function testUrlKeyDataProvider()
115
115
'isChangedCategories ' => false ,
116
116
'visibilityResult ' => true ,
117
117
'expectedDeleteCount ' => 1 ,
118
- 'expectedProdLoadCount ' => 1 ,
119
118
'expectedReplaceCount ' => 1 ,
120
119
121
120
],
@@ -126,7 +125,6 @@ public function testUrlKeyDataProvider()
126
125
'isChangedCategories ' => false ,
127
126
'visibilityResult ' => true ,
128
127
'expectedDeleteCount ' => 0 ,
129
- 'expectedProdLoadCount ' => 0 ,
130
128
'expectedReplaceCount ' => 0
131
129
],
132
130
'visibility changed ' => [
@@ -136,7 +134,6 @@ public function testUrlKeyDataProvider()
136
134
'isChangedCategories ' => false ,
137
135
'visibilityResult ' => true ,
138
136
'expectedDeleteCount ' => 1 ,
139
- 'expectedProdLoadCount ' => 1 ,
140
137
'expectedReplaceCount ' => 1
141
138
],
142
139
'websites changed ' => [
@@ -146,7 +143,6 @@ public function testUrlKeyDataProvider()
146
143
'isChangedCategories ' => false ,
147
144
'visibilityResult ' => true ,
148
145
'expectedDeleteCount ' => 1 ,
149
- 'expectedProdLoadCount ' => 1 ,
150
146
'expectedReplaceCount ' => 1
151
147
],
152
148
'categories changed ' => [
@@ -156,7 +152,6 @@ public function testUrlKeyDataProvider()
156
152
'isChangedCategories ' => true ,
157
153
'visibilityResult ' => true ,
158
154
'expectedDeleteCount ' => 1 ,
159
- 'expectedProdLoadCount ' => 1 ,
160
155
'expectedReplaceCount ' => 1
161
156
],
162
157
'url changed invisible ' => [
@@ -166,7 +161,6 @@ public function testUrlKeyDataProvider()
166
161
'isChangedCategories ' => false ,
167
162
'visibilityResult ' => false ,
168
163
'expectedDeleteCount ' => 1 ,
169
- 'expectedProdLoadCount ' => 1 ,
170
164
'expectedReplaceCount ' => 0
171
165
],
172
166
];
@@ -179,7 +173,6 @@ public function testUrlKeyDataProvider()
179
173
* @param bool $isChangedCategories
180
174
* @param bool $visibilityResult
181
175
* @param int $expectedDeleteCount
182
- * @param int $expectedProdLoadCount
183
176
* @param int $expectedReplaceCount
184
177
*
185
178
* @dataProvider testUrlKeyDataProvider
@@ -191,7 +184,6 @@ public function testExecuteUrlKey(
191
184
$ isChangedCategories ,
192
185
$ visibilityResult ,
193
186
$ expectedDeleteCount ,
194
- $ expectedProdLoadCount ,
195
187
$ expectedReplaceCount
196
188
) {
197
189
$ this ->product ->expects ($ this ->any ())->method ('getStoreId ' )->will ($ this ->returnValue (12 ));
0 commit comments