Skip to content

Commit 312d9d4

Browse files
committed
Code refactoring
1 parent 85b410d commit 312d9d4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/code/Magento/LoginAsCustomer/Test/Mftf/Test/AdminLoginAsCustomerLoggingFilterTest.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
stepKey="enableLoginAsCustomer"/>
2424
<magentoCLI command="config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
2525
stepKey="enableLoginAsCustomerAutoDetection"/>
26-
<magentoCLI command="cache:flush config" stepKey="flushCacheBeforeTestRun"/>
26+
<actionGroup ref="CliCacheCleanActionGroup" stepKey="flushCacheBeforeTestRun">
27+
<argument name="tags" value="config"/>
28+
</actionGroup>
2729
<createData entity="Simple_US_Customer_Assistance_Allowed" stepKey="createFirstCustomer"/>
2830
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsDefaultUser"/>
2931
</before>
@@ -37,7 +39,9 @@
3739
<!-- Set config back-->
3840
<magentoCLI command="config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
3941
stepKey="disableLoginAsCustomer"/>
40-
<magentoCLI command="cache:flush config" stepKey="flushCacheAfterTestRun"/>
42+
<actionGroup ref="CliCacheCleanActionGroup" stepKey="flushCacheAfterTestRun">
43+
<argument name="tags" value="config"/>
44+
</actionGroup>
4145
</after>
4246
<!-- Login into First Customer account -->
4347
<actionGroup ref="AdminLoginAsCustomerLoginFromCustomerPageActionGroup"

0 commit comments

Comments
 (0)