From 43a120477a7d7ded635da2d80d26f245f22aa08f Mon Sep 17 00:00:00 2001 From: Alastair Mucklow Date: Thu, 20 Jan 2022 12:57:11 +0000 Subject: [PATCH] Merged PR 34806: 4.14.0 submission adjustments ## What's being changed This PR contains a handful of small changes flagged on submission of 4.14.0 to the Magento Marketplace. Related work items: #164114 --- Test/Unit/Model/Newsletter/ResubscriberTest.php | 4 ++-- composer.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Test/Unit/Model/Newsletter/ResubscriberTest.php b/Test/Unit/Model/Newsletter/ResubscriberTest.php index ba0b1a2c..5a5786fa 100644 --- a/Test/Unit/Model/Newsletter/ResubscriberTest.php +++ b/Test/Unit/Model/Newsletter/ResubscriberTest.php @@ -107,7 +107,7 @@ public function testRecentlyModifiedSubscribersAreResubscribed() $subscriberCollectionMock->expects($this->exactly(3)) ->method('getIterator') - ->willReturn(new \ArrayObject([$subscriberModelMock, $subscriberModelMock])); + ->willReturn(new \ArrayIterator([$subscriberModelMock, $subscriberModelMock])); $subscriberModelMock->expects($this->any()) ->method('getSubscriberEmail') @@ -165,7 +165,7 @@ public function testContactsAreNotUpdatedIfChangeStatusAtIsNewer() $subscriberCollectionMock->expects($this->exactly(3)) ->method('getIterator') - ->willReturn(new \ArrayObject([$subscriberModelMock, $subscriberModelMock])); + ->willReturn(new \ArrayIterator([$subscriberModelMock, $subscriberModelMock])); $subscriberModelMock->expects($this->any()) ->method('getSubscriberEmail') diff --git a/composer.json b/composer.json index 57cabc3a..7a9a5337 100644 --- a/composer.json +++ b/composer.json @@ -48,10 +48,10 @@ "magento/module-url-rewrite": ">=100 <103", "magento/module-authorization": "100.*", "magento/module-tax": "100.*", - "magento/module-inventory-api": "*", - "magento/module-inventory-configuration-api": "*", - "magento/module-inventory-sales-admin-ui": "*", - "magento/module-inventory-sales-api": "*" + "magento/module-inventory-api": ">=1.0.0", + "magento/module-inventory-configuration-api": ">=1.0.0", + "magento/module-inventory-sales-admin-ui": ">=1.0.0", + "magento/module-inventory-sales-api": ">=1.0.0" }, "autoload": { "files": [ "registration.php" ],