mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-15 17:29:55 +09:00
Update to query argument naming - so that queries that have the same variable name specified in the XML will not fail.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8658 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
620b18e532
commit
cfc7d32afd
15 changed files with 209 additions and 189 deletions
|
|
@ -147,7 +147,6 @@
|
|||
|
||||
function test_module_getModuleSites(){
|
||||
$xml_file = _XE_PATH_ . "modules/module/queries/getModuleSites.xml";
|
||||
//$argsString = '$args->module_srls = array(67, 65);';
|
||||
$argsString = '$args->module_srls = "67, 65";';
|
||||
$expected = 'SELECT [modules].[module_srl] as [module_srl], [sites].[domain] as [domain] FROM [xe_modules] as [modules] , [xe_sites] as [sites] WHERE [modules].[module_srl] in (?,?) and [sites].[site_srl] = [modules].[site_srl]';
|
||||
$this->_test($xml_file, $argsString, $expected, array(array(67, 65)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue