Skip to content

Commit

Permalink
Merged PR 34806: 4.14.0 submission adjustments
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
sta1r committed Jan 26, 2022
1 parent b6e6796 commit 43a1204
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Test/Unit/Model/Newsletter/ResubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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')
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ],
Expand Down

0 comments on commit 43a1204

Please sign in to comment.