Skip to content

Commit 42e615f

Browse files
authored
🔃 [Magento Community Engineering] Community Contributions - 2.4-develop
Accepted Community Pull Requests: - #27519: PhpUnit 8 Migration - Framework & AdminAnalytics (by @ihor-sviziev) - #27322: MFTF: Add `<magentoCron` instruction - Magento: Backend / Braintree / Captcha (by @lbajsarowicz) - #27321: MFTF: Add `<magentoCron` instruction - Magento_Bundle (by @lbajsarowicz)
2 parents e344d30 + a9c148c commit 42e615f

File tree

38 files changed

+50
-14
lines changed

38 files changed

+50
-14
lines changed

app/code/Magento/AdminAnalytics/Test/Unit/Condition/CanViewNotificationTest.php

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,27 @@
1111
use Magento\Framework\App\ProductMetadataInterface;
1212
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
1313
use Magento\Framework\App\CacheInterface;
14+
use PHPUnit\Framework\MockObject\MockObject;
15+
use PHPUnit\Framework\TestCase;
1416

15-
/**
16-
* Class CanViewNotificationTest
17-
*/
18-
class CanViewNotificationTest extends \PHPUnit\Framework\TestCase
17+
class CanViewNotificationTest extends TestCase
1918
{
2019
/** @var CanViewNotification */
2120
private $canViewNotification;
2221

23-
/** @var Logger|\PHPUnit_Framework_MockObject_MockObject */
22+
/** @var Logger|MockObject */
2423
private $viewerLoggerMock;
2524

26-
/** @var ProductMetadataInterface|\PHPUnit_Framework_MockObject_MockObject */
25+
/** @var ProductMetadataInterface|MockObject */
2726
private $productMetadataMock;
2827

29-
/** @var Log|\PHPUnit_Framework_MockObject_MockObject */
28+
/** @var Log|MockObject */
3029
private $logMock;
3130

32-
/** @var $cacheStorageMock \PHPUnit_Framework_MockObject_MockObject|CacheInterface */
31+
/** @var $cacheStorageMock MockObject|CacheInterface */
3332
private $cacheStorageMock;
3433

35-
public function setUp()
34+
protected function setUp(): void
3635
{
3736
$this->cacheStorageMock = $this->getMockBuilder(CacheInterface::class)
3837
->getMockForAbstractClass();

app/code/Magento/Backend/Test/Mftf/Test/AdminDashboardWithChartsChart.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<field key="firstname">John1</field>
2929
<field key="lastname">Doe1</field>
3030
</createData>
31+
<magentoCron stepKey="runCronIndex" groups="index"/>
3132
</before>
3233
<after>
3334
<!-- Reset admin order filter -->

app/code/Magento/Braintree/Test/Mftf/Test/BraintreeCreditCardOnCheckoutTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<createData entity="Simple_US_Customer" stepKey="customer"/>
3131
<createData entity="BraintreeConfig" stepKey="BraintreeConfigurationData"/>
3232
<createData entity="CustomBraintreeConfigurationData" stepKey="CustomBraintreeConfigurationData"/>
33+
<magentoCron stepKey="runCronIndex" groups="index"/>
3334
</before>
3435

3536
<after>

app/code/Magento/Braintree/Test/Mftf/Test/CreateAnAdminOrderUsingBraintreePaymentTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
<!--Create New Customer-->
3535
<createData stepKey="createCustomer" entity="Simple_US_Customer"/>
36+
<magentoCron stepKey="runCronIndex" groups="index"/>
3637
</before>
3738

3839

app/code/Magento/Braintree/Test/Mftf/Test/CretateAdminOrderWithOnlinePaymentIncludingTaxAndDiscountTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
<field key="group_id">3</field>
4444
</createData>
4545

46+
<magentoCron stepKey="runCronIndex" groups="index"/>
47+
4648
<!--Login as Admin User-->
4749
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
4850
</before>

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AdminCreateApiDynamicBundleProductActionGroup.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,7 @@
6161
<requiredEntity createDataKey="createBundleOption1_2"/>
6262
<requiredEntity createDataKey="simpleProduct4"/>
6363
</createData>
64+
65+
<magentoCron stepKey="runCronIndex" groups="index"/>
6466
</actionGroup>
6567
</actionGroups>

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AdminCreateApiDynamicBundleProductAllOptionTypesActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@
7070
<requiredEntity createDataKey="createBundleRadioButtonsOption"/>
7171
<requiredEntity createDataKey="simpleProduct2"/>
7272
</createData>
73+
<magentoCron stepKey="runCronIndex" groups="index"/>
7374
</actionGroup>
7475
</actionGroups>

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AdminCreateApiFixedBundleProductActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,6 @@
6161
<requiredEntity createDataKey="createBundleOption1_2"/>
6262
<requiredEntity createDataKey="simpleProduct4"/>
6363
</createData>
64+
<magentoCron stepKey="runCronIndex" groups="index"/>
6465
</actionGroup>
6566
</actionGroups>

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddBundleItemsTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2626
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
2727
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
28+
<magentoCron stepKey="runCronIndex" groups="index"/>
2829
<!--Admin login-->
2930
<actionGroup stepKey="loginToAdminPanel" ref="AdminLoginActionGroup"/>
3031
</before>

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddBundleProductToCartFromWishListPageTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
<requiredEntity createDataKey="bundleOption"/>
5151
<requiredEntity createDataKey="createSimpleProduct2"/>
5252
</createData>
53+
<magentoCron stepKey="runCronIndex" groups="index"/>
54+
5355
<actionGroup ref="AdminProductPageOpenByIdActionGroup" stepKey="goToProductEditPage">
5456
<argument name="productId" value="$$createProduct.id$$"/>
5557
</actionGroup>

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddDefaultImageBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddDefaultVideoBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<before>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2626
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
27+
<magentoCron stepKey="runCronIndex" groups="index"/>
2728
</before>
2829
<after>
2930
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminDeleteABundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminDeleteBundleDynamicProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<createData entity="ApiBundleProductPriceViewRange" stepKey="createDynamicBundleProduct">
2727
<requiredEntity createDataKey="createCategory"/>
2828
</createData>
29+
<magentoCron stepKey="runCronIndex" groups="index"/>
2930
</before>
3031
<after>
3132
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminDeleteBundleFixedProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<createData entity="FixedBundleProduct" stepKey="createFixedBundleProduct">
2424
<requiredEntity createDataKey="createCategory"/>
2525
</createData>
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2627
</before>
2728
<after>
2829
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminEditRelatedBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct0"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2627
</before>
2728
<after>
2829
<!-- Delete the bundled product -->

app/code/Magento/Bundle/Test/Mftf/Test/AdminFilterProductListByBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProducts.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
2626
<createData entity="SimpleProduct2" stepKey="simpleProduct4"/>
27+
<magentoCron stepKey="runCronIndex" groups="index"/>
2728
</before>
2829
<after>
2930
<!--Clear Filters-->

app/code/Magento/Bundle/Test/Mftf/Test/AdminProductBundleCreationTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
26-
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2727
<!-- Admin Login-->
2828
<actionGroup stepKey="loginToAdminPanel" ref="AdminLoginActionGroup"/>
2929
</before>

app/code/Magento/Bundle/Test/Mftf/Test/AdminRemoveDefaultImageBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<!-- Delete the bundled product we created in the test body -->

app/code/Magento/Bundle/Test/Mftf/Test/AdminRemoveDefaultVideoBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<before>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2626
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
27+
<magentoCron stepKey="runCronIndex" groups="index"/>
2728
</before>
2829
<after>
2930
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminShouldBeAbleToMassUpdateAttributesForBundleProductsTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<requiredEntity createDataKey="createBundleOption"/>
3535
<requiredEntity createDataKey="createSimpleProduct"/>
3636
</createData>
37+
<magentoCron stepKey="runCronIndex" groups="index"/>
3738
</before>
3839
<after>
3940
<!-- Delete Simple Product -->

app/code/Magento/Bundle/Test/Mftf/Test/BundleProductFixedPricingTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
26-
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2727
<!--Admin login-->
2828
<actionGroup stepKey="loginToAdminPanel" ref="AdminLoginActionGroup"/>
2929
</before>

app/code/Magento/Bundle/Test/Mftf/Test/BundleProductWithTierPriceInCartTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<before>
2121
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2222
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
23+
<magentoCron stepKey="runCronIndex" groups="index"/>
2324
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2425
</before>
2526
<after>

app/code/Magento/Bundle/Test/Mftf/Test/CurrencyChangingBundleProductInCartTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2222
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
24+
<magentoCron stepKey="runCronIndex" groups="index"/>
2425
</before>
2526
<after>
2627
<!-- Delete the bundled product -->

app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2627

2728
<!--Admin login-->
2829
<actionGroup stepKey="loginToAdminPanel" ref="AdminLoginActionGroup"/>

app/code/Magento/Bundle/Test/Mftf/Test/MassEnableDisableBundleProductsTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
2626
<createData entity="SimpleProduct2" stepKey="simpleProduct4"/>
27+
<magentoCron stepKey="runCronIndex" groups="index"/>
2728
</before>
2829
<after>
2930
<!--Clear Filters-->

app/code/Magento/Bundle/Test/Mftf/Test/NewProductsListWidgetBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<before>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2627
</before>
2728

2829
<after>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontAddBundleOptionsToCartTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<createData entity="SimpleProduct2" stepKey="simpleProduct8"/>
3131
<createData entity="SimpleProduct2" stepKey="simpleProduct9"/>
3232
<createData entity="SimpleProduct2" stepKey="simpleProduct10"/>
33+
<magentoCron stepKey="runCronIndex" groups="index"/>
3334
</before>
3435
<after>
3536
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontAdminEditDataTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontBundleCartTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="logout"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontBundleProductDetailsTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
26-
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2727
<!-- Admin Login-->
2828
<actionGroup stepKey="loginToAdminPanel" ref="AdminLoginActionGroup"/>
2929
<actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYG"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontBundleProductShownInCategoryListAndGridTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
2626
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
2727
<createData entity="SimpleProduct2" stepKey="simpleProduct4"/>
28+
<magentoCron stepKey="runCronIndex" groups="index"/>
2829
</before>
2930
<after>
3031
<!--Logging out-->

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontCustomerSelectAndSetBundleOptionsTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
2525

26-
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2727
</before>
2828
<after>
2929
<!-- Delete the bundled product -->

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontEditBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontGoToDetailsPageWhenAddingToCartTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
2525
<createData entity="_defaultCategory" stepKey="createCategory"/>
26+
<magentoCron stepKey="runCronIndex" groups="index"/>
2627
</before>
2728
<after>
2829
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>

app/code/Magento/Captcha/Test/Mftf/Test/CaptchaFormsDisplayingTest/CaptchaWithDisabledGuestCheckoutTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<createData entity="ApiSimpleProduct" stepKey="createSimpleProduct">
2525
<requiredEntity createDataKey="createCategory"/>
2626
</createData>
27+
<magentoCron stepKey="runCronIndex" groups="index"/>
2728
</before>
2829
<after>
2930
<magentoCLI command="config:set checkout/options/guest_checkout 1" stepKey="enableGuestCheckout"/>

dev/tests/static/testsuite/Magento/Test/Legacy/_files/obsolete_classes.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4254,5 +4254,7 @@
42544254
['Magento\Elasticsearch\Elasticsearch5\Model\Adapter\DataMapper\ProductDataMapperProxy'],
42554255
['Magento\Elasticsearch\Elasticsearch5\Model\Adapter\DataMapper\ProductDataMapper'],
42564256
['Magento\Elasticsearch\Model\Adapter\DataMapper\DataMapperResolver'],
4257-
['Magento\Elasticsearch\Model\Adapter\Container\Attribute']
4257+
['Magento\Elasticsearch\Model\Adapter\Container\Attribute'],
4258+
['PHPUnit_Framework_MockObject_MockObject', 'PHPUnit\Framework\MockObject\MockObject'],
4259+
['PHPUnit\Framework\BaseTestListener'],
42584260
];

0 commit comments

Comments
 (0)