Skip to content
Snippets Groups Projects
Commit 43ede3ca authored by Pavel Bystritsky's avatar Pavel Bystritsky
Browse files

magento/magento2#10734: Magento 2 is not showing Popular Search Terms [backport]

parent e3403473
Branches
No related merge requests found
......@@ -37,10 +37,12 @@ class TermTest extends \PHPUnit\Framework\TestCase
public function testGetTerms(array $expected)
{
$result = $this->term->getTerms();
$actual = array_map(function ($object) {
return $object->setUpdatedAt(null)->getData();
},
$result);
$actual = array_map(
function ($object) {
return $object->setUpdatedAt(null)->getData();
},
$result
);
self::assertEquals(
$expected,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment