Skip to content

Commit c71d695

Browse files
Unit test case change reverted
1 parent 4697d93 commit c71d695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Customer/Test/Unit/Controller/Adminhtml/Index/InlineEditTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public function testExecuteLocalizedException()
366366
->with($this->customerData)
367367
->willThrowException($exception);
368368
$this->messageManager->expects($this->once())
369-
->method('addErrorMessage')
369+
->method('addError')
370370
->with('[Customer ID: 12] Exception message');
371371
$this->logger->expects($this->once())
372372
->method('critical')
@@ -394,7 +394,7 @@ public function testExecuteException()
394394
->with($this->customerData)
395395
->willThrowException($exception);
396396
$this->messageManager->expects($this->once())
397-
->method('addErrorMessage')
397+
->method('addError')
398398
->with('[Customer ID: 12] We can\'t save the customer.');
399399
$this->logger->expects($this->once())
400400
->method('critical')

0 commit comments

Comments
 (0)