Skip to content

Commit 2e2f66b

Browse files
committed
Update the store id attached to the second customer when dealing with new newsletter subscription mapping
1 parent 19fe0df commit 2e2f66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Newsletter/_files/subscribers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
$subscriber = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
3030
->create(\Magento\Newsletter\Model\Subscriber::class);
31-
$subscriber->setStoreId($otherStore)
31+
$subscriber->setStoreId($currentStore)
3232
// Intentionally setting ID to 0 instead of 2 to test fallback mechanism in Subscriber model
3333
->setCustomerId(0)
3434
->setSubscriberEmail('customer_two@example.com')

0 commit comments

Comments
 (0)