mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
buildConceptQueriesForFields() replaces buildConceptQueries()
This commit is contained in:
@@ -76,13 +76,7 @@ class TermNodeTest extends \PHPUnit_Framework_TestCase
|
||||
$node = new TermNode('bar');
|
||||
$query = $node->buildQuery($query_context->reveal());
|
||||
|
||||
$expected = '{
|
||||
"bool": {
|
||||
"should": []
|
||||
}
|
||||
}';
|
||||
|
||||
$this->assertEquals(json_decode($expected, true), $query);
|
||||
$this->assertNull($query);
|
||||
}
|
||||
|
||||
public function testQueryBuildWithPrivateFields()
|
||||
|
Reference in New Issue
Block a user