mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 11:19:56 +09:00
Issue 524 - Query error.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9685 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6eed0f10f2
commit
8de6d4338d
2 changed files with 26 additions and 4 deletions
|
|
@ -52,4 +52,14 @@
|
|||
and `listorder` <= 12';
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
function test_communication_setMessageReaded(){
|
||||
$xml_file = _XE_PATH_ . "modules/communication/queries/setMessageReaded.xml";
|
||||
$argsString = '$args->message_srl = 339321; $args->related_srl = 339321;';
|
||||
$expected = 'update `xe_member_message` as `member_message`
|
||||
set `readed` = \'y\'
|
||||
, `readed_date` = ' . date("YmdHis") . '
|
||||
where `message_srl` = 339321 or `related_srl` = 339321';
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue