Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FROM list: Add failing test case
Browse files Browse the repository at this point in the history
homersimpsons committed Mar 23, 2021
1 parent bae0f92 commit 8b1e107
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Mouf/Database/MagicQueryTest.php
Original file line number Diff line number Diff line change
@@ -208,6 +208,9 @@ public function testStandardSelect()

$sql = 'SELECT COUNT(*) AS cnt FROM (SELECT id FROM country) subquery';
$this->assertEquals($sql, self::simplifySql($magicQuery->build($sql)));

$sql = 'SELECT * FROM A, (SELECT * FROM B) B';
$this->assertEquals($sql, self::simplifySql($magicQuery->build($sql)));
}

public function testInNullException() {

0 comments on commit 8b1e107

Please sign in to comment.