phpcr/phpcr-api-tests — Issue #50: Invalid statement in QueryManagerTest.testCreateQuerySql2()
Author: piotras
Created: 2011-12-08 20:36:02+00:00
State: open

This test create new query

$ret = $this->sharedFixture['qm']->createQuery(null, \PHPCR\Query\QueryInterface::JCR_SQL2);

Please, replace null with at least 'SELECT * FROM [nt:folder]', for the sake of valid JCR_SQL2 statement.