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

testLanguageCodeFilterWithAlwaysAvailable() public method

    public function testLanguageCodeFilterWithAlwaysAvailable()
    {
        $this->assertSearchResults(array(2, 5, 12, 13, 14, 15, 43, 44, 45, 48, 51, 52, 53, 58, 59, 70, 72, 76, 78, 82), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\LanguageCode('eng-GB', true), 'limit' => 20, 'sortClauses' => array(new SortClause\ContentId())))));
    }
HandlerLocationTest