Skip to content

Commit 52560b3

Browse files
committed
MTA-576: Re-factor Test for Create Customer on Backend
- Fixed old tests
1 parent 58150a0 commit 52560b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/tests/functional/tests/app/Magento/Customer/Test/TestCase/ForgotPasswordOnFrontendTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class ForgotPasswordOnFrontendTest extends Functional
2020
public function testForgotPassword()
2121
{
2222
// Create Customer
23-
$customer = Factory::getFixtureFactory()->getMagentoCustomerCustomer();
24-
$customer->switchData('customer_US_1');
23+
$customer = Factory::getFixtureFactory()->getMagentoCustomerCustomer(['dataSet' => 'customer_US_1']);
2524
$customer->persist();
2625

2726
$customerAccountLoginPage = Factory::getPageFactory()->getCustomerAccountLogin();

0 commit comments

Comments
 (0)