File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -795,6 +795,9 @@ public function testMassUnsubscriberAction()
795
795
$ subscriberFactory ->create ()->subscribeCustomerById (2 );
796
796
$ this ->getRequest ()->setParam ('customer ' , [1 , 2 ]);
797
797
798
+ // Ensure secret key is disabled (subscription status notification emails turn it off)
799
+ $ this ->_objectManager ->get ('Magento\Backend\Model\UrlInterface ' )->turnOffSecretKey ();
800
+
798
801
// Test
799
802
$ this ->dispatch ('backend/customer/index/massUnsubscribe ' );
800
803
@@ -856,6 +859,9 @@ public function testMassUnsubscriberActionPartialUpdate()
856
859
$ subscriberFactory ->create ()->subscribeCustomerById (2 );
857
860
$ this ->getRequest ()->setParam ('customer ' , [1 , 4200 , 2 ]);
858
861
862
+ // Ensure secret key is disabled (subscription status notification emails turn it off)
863
+ $ this ->_objectManager ->get ('Magento\Backend\Model\UrlInterface ' )->turnOffSecretKey ();
864
+
859
865
// Test
860
866
$ this ->dispatch ('backend/customer/index/massUnsubscribe ' );
861
867
You can’t perform that action at this time.
0 commit comments