mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Unit test 수정.
키워드 양쪽에 wild-card가 붙는 것이 의도 된 것이 맞음..
This commit is contained in:
parent
b3abdfd696
commit
dc5296f326
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class DBQueryParserTest extends \Codeception\TestCase\Test
|
|||
'WHERE (`list_order` >= ? AND `list_order` < ?) AND ' .
|
||||
'((`title` LIKE ? AND `title` NOT LIKE ?) OR (`content` LIKE ? AND `content` NOT LIKE ?)) ' .
|
||||
'ORDER BY `list_order` ASC LIMIT 40, 20', $sql);
|
||||
$this->assertEquals(['1234', '4567', 'I love you', 'I hate you', 'I love you', 'I hate you'], $params);
|
||||
$this->assertEquals(['1234', '4567', '%I love you%', '%I hate you%', '%I love you%', '%I hate you%'], $params);
|
||||
}
|
||||
|
||||
public function testJoin1()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue