File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/Catalog/Test/Unit/Controller/Category Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Framework \ObjectManagerInterface ;
11
11
use Magento \Framework \Registry ;
12
12
13
+ /**
14
+ * Class MoveTest
15
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
16
+ */
13
17
class MoveTest extends \PHPUnit_Framework_TestCase
14
18
{
15
19
/**
@@ -245,7 +249,6 @@ public function testExecuteWithLocaliedException()
245
249
246
250
public function testSuccessfullCategorySave ()
247
251
{
248
- $ exceptionMessage = 'Sorry, but we can \'t find the new category you selected. ' ;
249
252
$ messagesCollection = $ this ->getMockBuilder (\Magento \Framework \Message \Collection::class)
250
253
->disableOriginalConstructor ()
251
254
->getMock ();
@@ -307,7 +310,7 @@ public function testSuccessfullCategorySave()
307
310
->with (__ ('You moved the category. ' ));
308
311
$ categoryMock ->expects ($ this ->once ())
309
312
->method ('move ' )
310
- ->with (2 ,1 );
313
+ ->with (2 , 1 );
311
314
$ this ->resultJsonFactoryMock
312
315
->expects ($ this ->once ())
313
316
->method ('create ' )
You can’t perform that action at this time.
0 commit comments