File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public function testQueryLeftJoin()
131131 $ this ->assertInstanceOf ('\PHPCR\Query\QueryResultInterface ' , $ result );
132132 $ vals = array ();
133133 foreach ($ result ->getRows () as $ row ) {
134- $ vals [$ row ->getValue ('file.jcr:name ' )] = $ row ->getValue ('target.longNumberToCompare ' );
134+ $ vals [basename ( $ row ->getPath ('file ' ) )] = $ row ->getValue ('target.longNumberToCompare ' );
135135 }
136136
137137 // We get 9 results (idExample comes back multiple times because of the join)
@@ -162,7 +162,7 @@ public function testQueryRightJoin()
162162 $ this ->assertInstanceOf ('\PHPCR\Query\QueryResultInterface ' , $ result );
163163 $ vals = array ();
164164 foreach ($ result ->getRows () as $ row ) {
165- $ vals [$ row ->getValue ('file.jcr:name ' )] = $ row ->getValue ('target.stringToCompare ' );
165+ $ vals [basename ( $ row ->getPath ('file ' ) )] = $ row ->getValue ('target.stringToCompare ' );
166166 }
167167
168168 // We get 9 results (idExample comes back multiple times because of the join)
You can’t perform that action at this time.
0 commit comments