Skip to content

Commit 2ebc24b

Browse files
soumyautomreece
authored andcommitted
MFTF-2078: [PHPUnit 9] assertContains and assertNotContains breaking changes
reverting to original action for array comparison
1 parent 7a5ad34 commit 2ebc24b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/Customer/Test/Mftf/ActionGroup/AssertCustomerGroupNotOnProductFormActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<click selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey="addCustomerGroupAllGroupsQty1PriceDiscountAnd10percent"/>
2222
<grabMultiple selector="{{AdminProductFormAdvancedPricingSection.productTierPriceCustGroupSelectOptions('0')}}" stepKey="customerGroups"/>
2323

24-
<assertStringNotContainsString stepKey="assertCustomerGroupNotInOptions">
24+
<assertNotContains stepKey="assertCustomerGroupNotInOptions">
2525
<actualResult type="variable">customerGroups</actualResult>
2626
<expectedResult type="string">{{customerGroup.code}}</expectedResult>
27-
</assertStringNotContainsString>
27+
</assertNotContains>
2828
</actionGroup>
2929
</actionGroups>

app/code/Magento/SalesRule/Test/Mftf/ActionGroup/AssertCustomerGroupNotOnCartPriceRuleFormActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</arguments>
1818

1919
<grabMultiple selector="{{AdminCartPriceRulesFormSection.customerGroupsOptions}}" stepKey="customerGroups"/>
20-
<assertStringNotContainsString stepKey="assertCustomerGroupNotInOptions">
20+
<assertNotContains stepKey="assertCustomerGroupNotInOptions">
2121
<actualResult type="variable">customerGroups</actualResult>
2222
<expectedResult type="string">{{customerGroup.code}}</expectedResult>
23-
</assertStringNotContainsString>
23+
</assertNotContains>
2424
</actionGroup>
2525
</actionGroups>

0 commit comments

Comments
 (0)