mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8556 201d5d3c-b55e-5fd7-737f-ddc643e51545
21 lines
No EOL
754 B
PHP
21 lines
No EOL
754 B
PHP
<?php
|
|
require(_XE_PATH_ . 'test-phpUnit/config/config.inc.php');
|
|
|
|
class CubridDeleteTest extends CubridTest {
|
|
|
|
function _test($xml_file, $argsString, $expected){
|
|
$this->_testQuery($xml_file, $argsString, $expected, 'getDeleteSql');
|
|
}
|
|
|
|
function test_module_deleteActionForward(){
|
|
$xml_file = _XE_PATH_ . "modules/module/queries/deleteActionForward.xml";
|
|
$argsString = '$args->module = "page";
|
|
$args->type = "page";
|
|
$args->act = "tata";';
|
|
$expected = 'delete "action_forward" from "xe_action_forward" as "action_forward"
|
|
where "module" = \'page\'
|
|
and "type" = \'page\'
|
|
and "act" = \'tata\'';
|
|
$this->_test($xml_file, $argsString, $expected);
|
|
}
|
|
} |