@@ -115,7 +115,6 @@ public function testUrlKeyDataProvider()
115115 'isChangedCategories ' => false ,
116116 'visibilityResult ' => true ,
117117 'expectedDeleteCount ' => 1 ,
118- 'expectedProdLoadCount ' => 1 ,
119118 'expectedReplaceCount ' => 1 ,
120119
121120 ],
@@ -126,7 +125,6 @@ public function testUrlKeyDataProvider()
126125 'isChangedCategories ' => false ,
127126 'visibilityResult ' => true ,
128127 'expectedDeleteCount ' => 0 ,
129- 'expectedProdLoadCount ' => 0 ,
130128 'expectedReplaceCount ' => 0
131129 ],
132130 'visibility changed ' => [
@@ -136,7 +134,6 @@ public function testUrlKeyDataProvider()
136134 'isChangedCategories ' => false ,
137135 'visibilityResult ' => true ,
138136 'expectedDeleteCount ' => 1 ,
139- 'expectedProdLoadCount ' => 1 ,
140137 'expectedReplaceCount ' => 1
141138 ],
142139 'websites changed ' => [
@@ -146,7 +143,6 @@ public function testUrlKeyDataProvider()
146143 'isChangedCategories ' => false ,
147144 'visibilityResult ' => true ,
148145 'expectedDeleteCount ' => 1 ,
149- 'expectedProdLoadCount ' => 1 ,
150146 'expectedReplaceCount ' => 1
151147 ],
152148 'categories changed ' => [
@@ -156,7 +152,6 @@ public function testUrlKeyDataProvider()
156152 'isChangedCategories ' => true ,
157153 'visibilityResult ' => true ,
158154 'expectedDeleteCount ' => 1 ,
159- 'expectedProdLoadCount ' => 1 ,
160155 'expectedReplaceCount ' => 1
161156 ],
162157 'url changed invisible ' => [
@@ -166,7 +161,6 @@ public function testUrlKeyDataProvider()
166161 'isChangedCategories ' => false ,
167162 'visibilityResult ' => false ,
168163 'expectedDeleteCount ' => 1 ,
169- 'expectedProdLoadCount ' => 1 ,
170164 'expectedReplaceCount ' => 0
171165 ],
172166 ];
@@ -179,7 +173,6 @@ public function testUrlKeyDataProvider()
179173 * @param bool $isChangedCategories
180174 * @param bool $visibilityResult
181175 * @param int $expectedDeleteCount
182- * @param int $expectedProdLoadCount
183176 * @param int $expectedReplaceCount
184177 *
185178 * @dataProvider testUrlKeyDataProvider
@@ -191,7 +184,6 @@ public function testExecuteUrlKey(
191184 $ isChangedCategories ,
192185 $ visibilityResult ,
193186 $ expectedDeleteCount ,
194- $ expectedProdLoadCount ,
195187 $ expectedReplaceCount
196188 ) {
197189 $ this ->product ->expects ($ this ->any ())->method ('getStoreId ' )->will ($ this ->returnValue (12 ));
0 commit comments