File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Customer/Test/Unit/Controller/Adminhtml/Index Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ public function testExecuteLocalizedException()
366
366
->with ($ this ->customerData )
367
367
->willThrowException ($ exception );
368
368
$ this ->messageManager ->expects ($ this ->once ())
369
- ->method ('addErrorMessage ' )
369
+ ->method ('addError ' )
370
370
->with ('[Customer ID: 12] Exception message ' );
371
371
$ this ->logger ->expects ($ this ->once ())
372
372
->method ('critical ' )
@@ -394,7 +394,7 @@ public function testExecuteException()
394
394
->with ($ this ->customerData )
395
395
->willThrowException ($ exception );
396
396
$ this ->messageManager ->expects ($ this ->once ())
397
- ->method ('addErrorMessage ' )
397
+ ->method ('addError ' )
398
398
->with ('[Customer ID: 12] We can \'t save the customer. ' );
399
399
$ this ->logger ->expects ($ this ->once ())
400
400
->method ('critical ' )
You can’t perform that action at this time.
0 commit comments