]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix QueryBuilderTests 1682/head
authorThomas Müller <DeepDiver1975@users.noreply.github.com>
Fri, 30 Sep 2016 11:31:39 +0000 (13:31 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 11 Oct 2016 10:30:46 +0000 (12:30 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tests/lib/DB/QueryBuilder/QueryBuilderTest.php

index de8f84ac3454ca367eea15112cbb820c5c4e2c77..3c10d25c535c84031828975760bcbe74345e22e3 100644 (file)
@@ -740,7 +740,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT `column` FROM  WHERE ' . $expectedQuery,
+                       'SELECT `column` WHERE ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -765,7 +765,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT `column` FROM  WHERE ' . $expectedQuery,
+                       'SELECT `column` WHERE ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -797,7 +797,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT `column` FROM  WHERE ' . $expectedQuery,
+                       'SELECT `column` WHERE ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -829,7 +829,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT `column` FROM  GROUP BY ' . $expectedQuery,
+                       'SELECT `column` GROUP BY ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -862,7 +862,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT `column` FROM  GROUP BY ' . $expectedQuery,
+                       'SELECT `column` GROUP BY ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -957,7 +957,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT  FROM  ' . $expectedQuery,
+                       'SELECT  ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -999,7 +999,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT  FROM  ' . $expectedQuery,
+                       'SELECT  ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -1041,7 +1041,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT  FROM  ' . $expectedQuery,
+                       'SELECT  ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -1071,7 +1071,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT  FROM  ' . $expectedQuery,
+                       'SELECT  ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }
@@ -1109,7 +1109,7 @@ class QueryBuilderTest extends \Test\TestCase {
                );
 
                $this->assertSame(
-                       'SELECT  FROM  ' . $expectedQuery,
+                       'SELECT  ' . $expectedQuery,
                        $this->queryBuilder->getSQL()
                );
        }