Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design

This commit is contained in:
Pierre Goiffon
2020-10-07 18:48:56 +02:00
3 changed files with 12 additions and 37 deletions

View File

@@ -212,31 +212,6 @@ class OQLTest extends ItopDataTestCase
);
}
/**
* @dataProvider TypeErrorQueryProvider
* @depends testOQLSetup
*
* @param $sQuery
*
* @expectedException \CoreException
*
* @throws \OQLException
*/
public function testTypeErrorQueryParser($sQuery)
{
$this->debug($sQuery);
$oOql = new OqlInterpreter($sQuery);
$oOql->ParseQuery();
}
public function TypeErrorQueryProvider()
{
return array(
array('SELECT A WHERE A.a MATCHES toto'),
);
}
/**
* Needs actual datamodel
* @depends testOQLSetup