Skip to content

Commit 3cd3789

Browse files
authored
Update test to match block change
1 parent 5b59f5c commit 3cd3789

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/testsuite/Magento/CatalogSearch/Block

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/CatalogSearch/Block/TermTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ protected function setUp()
2424
public function testGetSearchUrl()
2525
{
2626
$query = uniqid();
27-
$obj = new \Magento\Framework\DataObject(['name' => $query]);
27+
$obj = new \Magento\Framework\DataObject(['query_text' => $query]);
2828
$this->assertStringEndsWith("/catalogsearch/result/?q={$query}", $this->_block->getSearchUrl($obj));
2929
}
3030
}

0 commit comments

Comments
 (0)