Skip to content

Commit c92f8a3

Browse files
committed
MAGETWO-67291: [Performance] Layered Navigation built for Non Anchored categories
1 parent 6c1284a commit c92f8a3

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/CatalogSearch/Test/Unit/Model/Adapter/Aggregation/Checker/Query

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogSearch/Test/Unit/Model/Adapter/Aggregation/Checker/Query/CatalogViewTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function testIsNotApplicable()
138138
->willReturn($this->categoryMock);
139139
$this->categoryMock->expects($this->once())
140140
->method('getIsAnchor')
141-
->willReturn(true);
142-
$this->assertTrue($this->catalogViewMock->isApplicable($this->requestMock));
141+
->willReturn(false);
142+
$this->assertFalse($this->catalogViewMock->isApplicable($this->requestMock));
143143
}
144144
}

0 commit comments

Comments
 (0)