Skip to content

Commit 6f2b414

Browse files
committed
MC-22963: Identify and Refactor GET requests which modify data.
Fix typo in function.
1 parent 60acbbd commit 6f2b414

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Search/Controller/Adminhtml/Synonyms

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Search/Controller/Adminhtml/Synonyms/DeleteTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class DeleteTest extends AbstractBackendController
2929
*/
3030
public function testExecute(): void
3131
{
32-
$synonymGroupModel=$this->gettestFixture();
32+
$synonymGroupModel=$this->getTestFixture();
3333
$this->getRequest()->setMethod(HttpRequest::METHOD_POST);
3434
$this->getRequest()->setPostValue(['group_id' => $synonymGroupModel->getGroupId()]);
3535
$this->dispatch('backend/search/synonyms/delete');
@@ -53,7 +53,7 @@ public function testExecuteNoId(): void
5353
*
5454
* @return SynonymGroup
5555
*/
56-
private function gettestFixture(): SynonymGroup
56+
private function getTestFixture(): SynonymGroup
5757
{
5858
/** @var Collection */
5959
$synonymGroupCollection = Bootstrap::getObjectManager()->get(Collection::class);

0 commit comments

Comments
 (0)