Complete phpunit
This commit is contained in:
parent
4856010400
commit
1c1d8887b1
@ -162,6 +162,12 @@ class PgsqlTest extends PHPUnit_Framework_TestCase
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertEquals($result, $sql.' DEFERRABLE INITIALLY IMMEDIATE;');
|
||||
|
||||
// Create a constraint
|
||||
$sql='SELECT a.b, GROUP_CONCAT(a.c) FROM table GROUP BY a.b';
|
||||
$result=DoliDBPgsql::convertSQLFromMysql($sql);
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertEquals($result, "SELECT a.b, STRING_AGG(a.c, ',') FROM table GROUP BY a.b");
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user