Bolt\Tests\Storage\Query\SearchQueryTest::testContenttypeFailure PHP Метод

testContenttypeFailure() публичный Метод

    public function testContenttypeFailure()
    {
        $app = $this->getApp();
        $filter = 'main other';
        $query = $app['query.search'];
        $query->setContentType('blocks');
        $this->setExpectedException('Bolt\\Exception\\QueryParseException');
        $query->setSearch($filter);
    }