Merge remote-tracking branch 'origin/support/2.7' into develop

# Conflicts:
#	application/datamodel.application.xml
This commit is contained in:
Pierre Goiffon
2020-10-07 18:37:06 +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