mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
Fix tests
This commit is contained in:
@@ -55,6 +55,7 @@ class TextNodeTest extends \PHPUnit_Framework_TestCase
|
|||||||
"multi_match": {
|
"multi_match": {
|
||||||
"fields": ["foo.fr", "foo.en"],
|
"fields": ["foo.fr", "foo.en"],
|
||||||
"query": "bar",
|
"query": "bar",
|
||||||
|
"type": "cross_fields",
|
||||||
"operator": "and",
|
"operator": "and",
|
||||||
"lenient": true
|
"lenient": true
|
||||||
}
|
}
|
||||||
@@ -94,6 +95,7 @@ class TextNodeTest extends \PHPUnit_Framework_TestCase
|
|||||||
"multi_match": {
|
"multi_match": {
|
||||||
"fields": ["foo.fr", "foo.en"],
|
"fields": ["foo.fr", "foo.en"],
|
||||||
"query": "baz",
|
"query": "baz",
|
||||||
|
"type": "cross_fields",
|
||||||
"operator": "and",
|
"operator": "and",
|
||||||
"lenient": true
|
"lenient": true
|
||||||
}
|
}
|
||||||
@@ -108,6 +110,7 @@ class TextNodeTest extends \PHPUnit_Framework_TestCase
|
|||||||
"multi_match": {
|
"multi_match": {
|
||||||
"fields": ["private_caption.bar.fr", "private_caption.bar.en"],
|
"fields": ["private_caption.bar.fr", "private_caption.bar.en"],
|
||||||
"query": "baz",
|
"query": "baz",
|
||||||
|
"type": "cross_fields",
|
||||||
"operator": "and",
|
"operator": "and",
|
||||||
"lenient": true
|
"lenient": true
|
||||||
}
|
}
|
||||||
@@ -140,6 +143,7 @@ class TextNodeTest extends \PHPUnit_Framework_TestCase
|
|||||||
"multi_match": {
|
"multi_match": {
|
||||||
"fields": ["foo.fr", "foo.en"],
|
"fields": ["foo.fr", "foo.en"],
|
||||||
"query": "bar",
|
"query": "bar",
|
||||||
|
"type": "cross_fields",
|
||||||
"operator": "and",
|
"operator": "and",
|
||||||
"lenient": true
|
"lenient": true
|
||||||
}
|
}
|
||||||
@@ -189,6 +193,7 @@ class TextNodeTest extends \PHPUnit_Framework_TestCase
|
|||||||
"multi_match": {
|
"multi_match": {
|
||||||
"fields": ["foo.fr", "foo.en"],
|
"fields": ["foo.fr", "foo.en"],
|
||||||
"query": "baz",
|
"query": "baz",
|
||||||
|
"type": "cross_fields",
|
||||||
"operator": "and",
|
"operator": "and",
|
||||||
"lenient": true
|
"lenient": true
|
||||||
}
|
}
|
||||||
@@ -212,6 +217,7 @@ class TextNodeTest extends \PHPUnit_Framework_TestCase
|
|||||||
"multi_match": {
|
"multi_match": {
|
||||||
"fields": ["private_caption.bar.fr", "private_caption.bar.en"],
|
"fields": ["private_caption.bar.fr", "private_caption.bar.en"],
|
||||||
"query": "baz",
|
"query": "baz",
|
||||||
|
"type": "cross_fields",
|
||||||
"operator": "and",
|
"operator": "and",
|
||||||
"lenient": true
|
"lenient": true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user