You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicfunctiontestSeekable()
{
$seekPosition = 2;
$nodes = array();
$i = 0;
foreach ($this->nodeIteratoras$path => $node) {
if ($i++ == $seekPosition) {
$seekNode = $node;
$seekKey = $path;
}
}
// note that in php 5.3.3, the array iterator gets the seek wrong and wants a string position instead of a number. according to the doc, we test for the correct behaviour here.$this->nodeIterator->seek($seekPosition);
$this->assertEquals($seekKey, $this->nodeIterator->key());
$this->assertEquals($seekNode, $this->nodeIterator->current());
}
i.e. the API tests test with an integer, but jackalope expects a nodeName.
Doctrine DBAL skips this test:
// this seems a bug in php with arrayiterator - and jackalope is using
// arrayiterator for the search result
// TODO https://github.com/phpcr/phpcr-api-tests/issues/22
'Query\\NodeViewTest::testSeekable',
The API tests tests with an integer:
in jackalope:
i.e. the API tests test with an integer, but jackalope expects a nodeName.
Doctrine DBAL skips this test:
That issue has however been closed.
The text was updated successfully, but these errors were encountered: