We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bae25b commit cd78346Copy full SHA for cd78346
dev/tests/integration/testsuite/Magento/User/Controller/Adminhtml/UserResetPasswordEmailTest.php
@@ -134,10 +134,10 @@ public function testAdminEmailNotificationAfterPasswordChange() :void
134
->addTo($adminEmail)
135
->getTransport();
136
137
- $message = $transport->getMessage();
+ $message = $transportBuilderMock->getSentMessage();
138
139
// Verify an email was dispatched to the correct user
140
- $this->assertNotNull($transport->getMessage());
+ $this->assertNotNull($transportBuilderMock->getSentMessage());
141
$this->assertEquals($adminEmail, $message->getTo()[0]->getEmail());
142
}
143
0 commit comments