Skip to content

Commit 86a4db9

Browse files
ENGCOM-4220: Remove unused use statement in Wishlist Allcart Controller #21130
- Merge Pull Request #21130 from oshancp/magento2:remove-unused-use-statement-from-Wishlist-Allcart-controller - Merged commits: 1. 53694fa 2. 9de6daf 3. 18663c0 4. 5c1b27d
2 parents 258f841 + 5c1b27d commit 86a4db9

File tree

1 file changed

+1
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Wishlist/Controller

1 file changed

+1
-0
lines changed

dev/tests/integration/testsuite/Magento/Wishlist/Controller/IndexTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ public function testAddActionProductNameXss()
128128
public function testAllcartAction()
129129
{
130130
$formKey = $this->_objectManager->get(\Magento\Framework\Data\Form\FormKey::class)->getFormKey();
131+
$this->getRequest()->setMethod('POST');
131132
$this->getRequest()->setParam('form_key', $formKey);
132133
$this->dispatch('wishlist/index/allcart');
133134

0 commit comments

Comments
 (0)