Skip to content

Commit b8fe8ee

Browse files
author
David Alger
committed
MAGETWO-37843: All responsive email templates in Blank Theme
- fixed failing integration tests
1 parent 5c20249 commit b8fe8ee

File tree

1 file changed

+6
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml

1 file changed

+6
-0
lines changed

dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml/IndexTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,9 @@ public function testMassUnsubscriberAction()
795795
$subscriberFactory->create()->subscribeCustomerById(2);
796796
$this->getRequest()->setParam('customer', [1, 2]);
797797

798+
// Ensure secret key is disabled (subscription status notification emails turn it off)
799+
$this->_objectManager->get('Magento\Backend\Model\UrlInterface')->turnOffSecretKey();
800+
798801
// Test
799802
$this->dispatch('backend/customer/index/massUnsubscribe');
800803

@@ -856,6 +859,9 @@ public function testMassUnsubscriberActionPartialUpdate()
856859
$subscriberFactory->create()->subscribeCustomerById(2);
857860
$this->getRequest()->setParam('customer', [1, 4200, 2]);
858861

862+
// Ensure secret key is disabled (subscription status notification emails turn it off)
863+
$this->_objectManager->get('Magento\Backend\Model\UrlInterface')->turnOffSecretKey();
864+
859865
// Test
860866
$this->dispatch('backend/customer/index/massUnsubscribe');
861867

0 commit comments

Comments
 (0)