@@ -219,7 +219,7 @@ class QueryBuilderTest extends DatabaseTestCase
...
@@ -219,7 +219,7 @@ class QueryBuilderTest extends DatabaseTestCase
/*
/*
This test contains three select queries connected with UNION and UNION ALL constructions.
This test contains three select queries connected with UNION and UNION ALL constructions.
It could be useful to use "phpunit --group=db --filter testBuildUnion" command for run it.
It could be useful to use "phpunit --group=db --filter testBuildUnion" command for run it.
*/
public function testBuildUnion()
public function testBuildUnion()
{
{
$expectedQuerySql = "SELECT `id` FROM `TotalExample` `t1` WHERE (w > 0) AND (x < 2) UNION ( SELECT `id` FROM `TotalTotalExample` `t2` WHERE w > 5 ) UNION ALL ( SELECT `id` FROM `TotalTotalExample` `t3` WHERE w = 3 )";
$expectedQuerySql = "SELECT `id` FROM `TotalExample` `t1` WHERE (w > 0) AND (x < 2) UNION ( SELECT `id` FROM `TotalTotalExample` `t2` WHERE w > 5 ) UNION ALL ( SELECT `id` FROM `TotalTotalExample` `t3` WHERE w = 3 )";
...
@@ -239,6 +239,6 @@ class QueryBuilderTest extends DatabaseTestCase
...
@@ -239,6 +239,6 @@ class QueryBuilderTest extends DatabaseTestCase