mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix incorrect querystring when comparing column against null value
This commit is contained in:
parent
22182c4c19
commit
a6f771c155
2 changed files with 3 additions and 3 deletions
|
|
@ -423,7 +423,7 @@ class DBQueryParserTest extends \Codeception\TestCase\Test
|
|||
$sql = $query->getQueryString('rx_', $args);
|
||||
$params = $query->getQueryParams();
|
||||
|
||||
$this->assertEquals('UPDATE `rx_documents` SET `member_srl` = ?, `nick_name` = NULL, `voted_count` = `voted_count` + ? WHERE `document_srl` = ?', $sql);
|
||||
$this->assertEquals('UPDATE `rx_documents` SET `member_srl` = ?, `nick_name` IS NULL, `voted_count` = `voted_count` + ? WHERE `document_srl` = ?', $sql);
|
||||
$this->assertEquals(['456', '5', '123'], $params);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue