Skip to content

Commit 8891a14

Browse files
akaashakaash
authored andcommitted
Static test fix
1 parent 8297225 commit 8891a14

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,15 @@ public function testAdminEmailNotificationAfterPasswordChange() :void
122122

123123
/** @var TransportBuilder $transportBuilder */
124124
$transportBuilder = $this->_objectManager->get(TransportBuilder::class);
125-
$transport = $transportBuilder->setTemplateIdentifier('customer_account_information_change_email_and_password_template')
126-
->setTemplateOptions(['area' => Area::AREA_FRONTEND, 'store' => \Magento\Store\Model\Store::DEFAULT_STORE_ID])
125+
$transport = $transportBuilder->setTemplateIdentifier(
126+
'customer_account_information_change_email_and_password_template'
127+
)
128+
->setTemplateOptions(
129+
[
130+
'area' => Area::AREA_FRONTEND,
131+
'store' => \Magento\Store\Model\Store::DEFAULT_STORE_ID
132+
]
133+
)
127134
->setTemplateVars(['customer' => $adminUser])
128135
->addTo($adminEmail)
129136
->getTransport();

0 commit comments

Comments
 (0)