File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
tests/lib/Search/Query/Content/CriterionVisitor Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,11 @@ class FullTextTest extends TestCase
28
28
{
29
29
protected function getFullTextCriterionVisitor (array $ fieldTypes = [], int $ maxDepth = 0 )
30
30
{
31
- $ fieldNames = array_keys ($ fieldTypes );
32
31
$ fieldNameResolver = $ this ->getMockBuilder (FieldNameResolver::class)
33
32
->disableOriginalConstructor ()
34
- ->setMethods (['getFieldNames ' , ' getFieldTypes ' ])
33
+ ->setMethods (['getFieldTypes ' ])
35
34
->getMock ();
36
35
37
- $ fieldNameResolver
38
- ->expects (self ::any ())
39
- ->method ('getFieldNames ' )
40
- ->with (
41
- self ::isInstanceOf (Criterion::class),
42
- self ::isType ('string ' )
43
- )
44
- ->willReturn (
45
- $ fieldNames
46
- );
47
-
48
36
$ fieldNameResolver
49
37
->expects (self ::any ())
50
38
->method ('getFieldTypes ' )
You can’t perform that action at this time.
0 commit comments