mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
Issue 491: 1.5.0.5 설치우 버그?
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9643 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bddb968dbf
commit
e8741e7cb6
4 changed files with 29 additions and 5 deletions
|
|
@ -42,5 +42,14 @@
|
|||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
|
||||
function test_menu_updateMenuItemListorder(){
|
||||
$xml_file = _TEST_PATH_ . "db/xml_query/mysql/data/menu.updateMenuItemListorder.xml";
|
||||
$argsString = '$args->menu_srl = 10; $args->parent_srl = 11; $args->listorder = 12;';
|
||||
$expected = 'update `xe_menu_item` as `menu_item`
|
||||
set `listorder` = `listorder` - 1
|
||||
where `menu_srl` = 10
|
||||
and `parent_srl` = 11
|
||||
and `listorder` <= 12';
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue