File tree 2 files changed +4
-5
lines changed
app/code/Magento/Sitemap/Test/Unit/Model
dev/tests/integration/testsuite/Magento/Eav/Setup 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ protected function prepareSitemapModelMock(
408
408
};
409
409
410
410
// Check that all expected lines were written
411
- $ this ->_fileMock ->expects (
411
+ $ this ->fileMock ->expects (
412
412
$ this ->exactly ($ expectedWrites )
413
413
)->method (
414
414
'write '
@@ -420,8 +420,7 @@ protected function prepareSitemapModelMock(
420
420
$ currentFile = $ file ;
421
421
};// Check that all expected file descriptors were created
422
422
$ this ->directoryMock ->expects ($ this ->exactly (count ($ expectedFile )))->method ('openFile ' )
423
- ->willReturnCallback ($ checkFileCallback
424
- );
423
+ ->willReturnCallback ($ checkFileCallback );
425
424
426
425
// Check that all file descriptors were closed
427
426
$ this ->fileMock ->expects ($ this ->exactly (count ($ expectedFile )))
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function addAttributeDataProvider()
55
55
{
56
56
return [
57
57
['eav_setup_test ' ],
58
- ['_29_characters_29_characters_ ' ],
58
+ ['_59_characters_59_characters_59_characters_59_characters_59 ' ],
59
59
];
60
60
}
61
61
@@ -86,7 +86,7 @@ public function addAttributeThrowExceptionDataProvider()
86
86
[null ],
87
87
['' ],
88
88
[' ' ],
89
- ['more_than_30_characters_more_than ' ],
89
+ ['more_than_60_characters_more_than_more_than_60_characters ' ],
90
90
];
91
91
}
92
92
You can’t perform that action at this time.
0 commit comments