@@ -57,14 +57,14 @@ public function testQueryFieldSomeNull()
57
57
$ vals [] = ($ node ->hasProperty ('foo ' ) ? $ node ->getPropertyValue ('foo ' ) : null );
58
58
}
59
59
$ this ->assertContains ('bar ' , $ vals );
60
- $ this ->assertCount (9 , $ vals );
60
+ $ this ->assertCount (10 , $ vals );
61
61
62
62
$ vals = array ();
63
63
foreach ($ result ->getRows () as $ row ) {
64
64
$ vals [] = $ row ->getValue ('foo ' );
65
65
}
66
66
$ this ->assertContains ('bar ' , $ vals );
67
- $ this ->assertCount (9 , $ vals );
67
+ $ this ->assertCount (10 , $ vals );
68
68
}
69
69
70
70
public function testQueryFieldSelector ()
@@ -182,7 +182,7 @@ public function testQueryLeftJoin()
182
182
}
183
183
184
184
// We get 9 results (idExample comes back multiple times because of the join)
185
- $ this ->assertCount (9 , $ result ->getRows ());
185
+ $ this ->assertCount (10 , $ result ->getRows ());
186
186
$ this ->assertEquals (array (
187
187
'index.txt ' => null ,
188
188
'idExample ' => null ,
@@ -212,8 +212,8 @@ public function testQueryRightJoin()
212
212
$ vals [basename ($ row ->getPath ('file ' ))] = $ row ->getValue ('target.stringToCompare ' );
213
213
}
214
214
215
- // We get 9 results (idExample comes back multiple times because of the join)
216
- $ this ->assertCount (9 , $ result ->getRows ());
215
+ // We get 10 results (idExample comes back multiple times because of the join)
216
+ $ this ->assertCount (10 , $ result ->getRows ());
217
217
$ this ->assertEquals (array (
218
218
'index.txt ' => null ,
219
219
'idExample ' => null ,
@@ -315,7 +315,7 @@ public function testQueryOrderWithMissingProperty()
315
315
$ vals [] = $ row ->getValue ('data.zeronumber ' );
316
316
}
317
317
// rows that do not have that field are empty string. empty is before fields with values
318
- $ this ->assertEquals (array ('' , '' , '' , '' , '' , '' , '' , '' , 0 ), $ vals );
318
+ $ this ->assertEquals (array ('' , '' , '' , '' , '' , '' , '' , '' , '' , 0 ), $ vals );
319
319
}
320
320
321
321
public function testQueryMultiValuedProperty ()
0 commit comments