We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b59f5c commit 3cd3789Copy full SHA for 3cd3789
dev/tests/integration/testsuite/Magento/CatalogSearch/Block/TermTest.php
@@ -24,7 +24,7 @@ protected function setUp()
24
public function testGetSearchUrl()
25
{
26
$query = uniqid();
27
- $obj = new \Magento\Framework\DataObject(['name' => $query]);
+ $obj = new \Magento\Framework\DataObject(['query_text' => $query]);
28
$this->assertStringEndsWith("/catalogsearch/result/?q={$query}", $this->_block->getSearchUrl($obj));
29
}
30
0 commit comments