Skip to content

Commit cd78346

Browse files
akaashakaash
authored andcommitted
ACQE-4750 | PR Feedback
1 parent 6bae25b commit cd78346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/User/Controller/Adminhtml/UserResetPasswordEmailTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ public function testAdminEmailNotificationAfterPasswordChange() :void
134134
->addTo($adminEmail)
135135
->getTransport();
136136

137-
$message = $transport->getMessage();
137+
$message = $transportBuilderMock->getSentMessage();
138138

139139
// Verify an email was dispatched to the correct user
140-
$this->assertNotNull($transport->getMessage());
140+
$this->assertNotNull($transportBuilderMock->getSentMessage());
141141
$this->assertEquals($adminEmail, $message->getTo()[0]->getEmail());
142142
}
143143
}

0 commit comments

Comments
 (0)