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

testContentDepthFilterIn() public method

    public function testContentDepthFilterIn()
    {
        $this->assertSearchResults(array(2, 5, 12, 13, 14, 43, 44, 48, 51, 52, 53, 54, 56, 58, 59, 69, 77, 86, 96, 107, 153, 156, 167, 190, 227), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\Location\Depth(Criterion\Operator::IN, array(1, 2)), 'limit' => 50))));
    }
HandlerLocationTest