@@ -42,7 +42,7 @@ protected function setUp(): void
42
42
* Verify with Admin email ID and Magento_LoginAsCustomer::login is enabled
43
43
*
44
44
* @magentoApiDataFixture Magento/LoginAsCustomer/_files/admin.php
45
- * @magentoApiDataFixture Magento/LoginAsCustomer/_files/login_as_customer_config_enable.php
45
+ * @magentoConfigFixture admin_store login_as_customer/general/enabled 1
46
46
* @magentoApiDataFixture Magento/Customer/_files/customer.php
47
47
* @throws Exception
48
48
*/
@@ -66,7 +66,7 @@ public function testGenerateCustomerValidTokenLoginAsCustomerEnabled()
66
66
* Verify with Admin email ID and Magento_LoginAsCustomer::login is disabled
67
67
*
68
68
* @magentoApiDataFixture Magento/LoginAsCustomer/_files/admin.php
69
- * @magentoApiDataFixture Magento/LoginAsCustomer/_files/login_as_customer_config_disable.php
69
+ * @magentoConfigFixture admin_store login_as_customer/general/enabled 0
70
70
* @magentoApiDataFixture Magento/Customer/_files/customer.php
71
71
* @throws Exception
72
72
*/
@@ -90,7 +90,7 @@ public function testGenerateCustomerValidTokenLoginAsCustomerDisabled()
90
90
* Verify with Customer Token in auth header
91
91
*
92
92
* @magentoApiDataFixture Magento/Customer/_files/customer.php
93
- * @magentoApiDataFixture Magento/LoginAsCustomer/_files/login_as_customer_config_enable.php
93
+ * @magentoConfigFixture admin_store login_as_customer/general/enabled 1
94
94
* @throws Exception
95
95
*/
96
96
public function testGenerateCustomerTokenLoginWithCustomerCredentials ()
@@ -115,7 +115,7 @@ public function testGenerateCustomerTokenLoginWithCustomerCredentials()
115
115
* Test with invalid data.
116
116
*
117
117
* @magentoApiDataFixture Magento/LoginAsCustomer/_files/admin.php
118
- * @magentoApiDataFixture Magento/LoginAsCustomer/_files/login_as_customer_config_enable.php
118
+ * @magentoConfigFixture admin_store login_as_customer/general/enabled 1
119
119
*
120
120
* @dataProvider dataProviderInvalidInfo
121
121
* @param string $adminUserName
0 commit comments