File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
app/code/Magento/CatalogUrlRewrite/Test/Unit/Observer Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 13
13
use Magento \UrlRewrite \Service \V1 \Data \UrlRewrite ;
14
14
15
15
/**
16
- * Class AfterImportDataObserverTest
16
+ * Class ProductProcessUrlRewriteSavingObserverTest
17
17
*
18
18
* @SuppressWarnings(PHPMD.TooManyFields)
19
19
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
20
20
*/
21
- class AfterImportDataObserverTest extends \PHPUnit_Framework_TestCase
21
+ class ProductProcessUrlRewriteSavingObserverTest extends \PHPUnit_Framework_TestCase
22
22
{
23
23
/**
24
24
* @var \Magento\UrlRewrite\Model\UrlPersistInterface|\PHPUnit_Framework_MockObject_MockObject
@@ -184,15 +184,14 @@ public function testExecuteUrlKey(
184
184
$ expectedDeleteCount ,
185
185
$ expectedReplaceCount
186
186
) {
187
-
188
187
$ this ->product ->expects ($ this ->any ())
189
188
->method ('dataHasChangedFor ' )
190
189
->will ($ this ->returnValueMap (
191
- [
192
- ['visibility ' , $ isChangedVisibility ],
193
- ['url_key ' , $ isChangedUrlKey ]
194
- ]
195
- ));
190
+ [
191
+ ['visibility ' , $ isChangedVisibility ],
192
+ ['url_key ' , $ isChangedUrlKey ]
193
+ ]
194
+ ));
196
195
197
196
$ this ->product ->expects ($ this ->any ())
198
197
->method ('getIsChangedWebsites ' )
You can’t perform that action at this time.
0 commit comments