Skip to content

Commit 7025584

Browse files
authored
Test 2
1 parent 8d5f075 commit 7025584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Search/Test/Unit/Model/PopularSearchTermsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function testIsCacheable()
6767
ScopeInterface::SCOPE_STORE,
6868
$storeId
6969
)->willReturn($pageSize);
70-
$this->queryCollectionMock->expects($this->once())->method('isTopSearchResult')->with($term, $storeId, $pageSize)
70+
$this->queryCollectionMock->expects($this->exact(2))->method('isTopSearchResult')->with($term, $storeId, $pageSize)
7171
->willReturn(true, false);
7272

7373
$this->assertTrue($this->popularSearchTerms->isCacheable($term, $storeId));

0 commit comments

Comments
 (0)