File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Customer/Test/Unit/Controller/Address Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ public function testExecute(
549
549
->willReturnSelf ();
550
550
551
551
$ this ->messageManager ->expects ($ this ->once ())
552
- ->method ('addSuccess ' )
552
+ ->method ('addSuccessMessage ' )
553
553
->with (__ ('You saved the address. ' ))
554
554
->willReturnSelf ();
555
555
@@ -640,7 +640,7 @@ public function testExecuteInputException()
640
640
->willThrowException (new InputException (__ ('InputException ' )));
641
641
642
642
$ this ->messageManager ->expects ($ this ->once ())
643
- ->method ('addError ' )
643
+ ->method ('addErrorMessage ' )
644
644
->with ('InputException ' )
645
645
->willReturnSelf ();
646
646
@@ -703,7 +703,7 @@ public function testExecuteException()
703
703
->willThrowException ($ exception );
704
704
705
705
$ this ->messageManager ->expects ($ this ->once ())
706
- ->method ('addException ' )
706
+ ->method ('addExceptionMessage ' )
707
707
->with ($ exception , __ ('We can \'t save the address. ' ))
708
708
->willReturnSelf ();
709
709
You can’t perform that action at this time.
0 commit comments