mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
Merge remote-tracking branch 'origin/support/2.7' into develop
# Conflicts: # application/datamodel.application.xml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user