Skip to content

Commit 0f2a5f7

Browse files
author
Oleksandr Gorkun
committed
MAGETWO-93969: Declaring allowed HTTP methods for controllers
1 parent 7e18efb commit 0f2a5f7

File tree

1 file changed

+1
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Elasticsearch/Controller/Adminhtml/Category

1 file changed

+1
-0
lines changed

dev/tests/integration/testsuite/Magento/Elasticsearch/Controller/Adminhtml/Category/SaveTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public function testExecute()
8080
];
8181

8282
$this->getRequest()->setPostValue($inputData);
83+
$this->getRequest()->setMethod('POST');
8384
$this->dispatch('backend/catalog/category/save');
8485
$this->assertSessionMessages(
8586
self::equalTo(['You saved the category.']),

0 commit comments

Comments
 (0)