eZ\Publish\Core\Search\Legacy\Tests\Content\Location\HandlerLocationTest::testLocationOrCombinatorFilter PHP Method

testLocationOrCombinatorFilter() public method

    public function testLocationOrCombinatorFilter()
    {
        $this->assertSearchResults(array(2, 5, 12, 13, 14), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\LogicalOr(array(new Criterion\LocationId(array(2, 5, 12)), new Criterion\LocationId(array(12, 13, 14)))), 'limit' => 10))));
    }
HandlerLocationTest