Skip to content

Commit e586901

Browse files
committed
magento/magento2#: “Bad request” is never shown
1 parent 40c0e28 commit e586901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Test/Unit/Controller/Account/ConfirmTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function testNoCustomerIdInRequest($customerId, $key)
203203
->with($this->equalTo('key'), false)
204204
->will($this->returnValue($key));
205205

206-
$this->messageManager->expects($this->once())
206+
$this->messageManagerMock->expects($this->once())
207207
->method('addErrorMessage')
208208
->with(__('Bad request.'));
209209

0 commit comments

Comments
 (0)