diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-09-30 13:31:39 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-11 12:30:46 +0200 |
commit | b1641cc113945700e29bc05d15e964f26e799020 (patch) | |
tree | b0df6c63d7f8909f576f3c86283575bcb07e14ea /tests/lib/DB | |
parent | fe43b3026148983af7bd45bcb1a90808267e451d (diff) | |
download | nextcloud-server-b1641cc113945700e29bc05d15e964f26e799020.tar.gz nextcloud-server-b1641cc113945700e29bc05d15e964f26e799020.zip |
Fix QueryBuilderTests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/DB')
-rw-r--r-- | tests/lib/DB/QueryBuilder/QueryBuilderTest.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/lib/DB/QueryBuilder/QueryBuilderTest.php b/tests/lib/DB/QueryBuilder/QueryBuilderTest.php index de8f84ac345..3c10d25c535 100644 --- a/tests/lib/DB/QueryBuilder/QueryBuilderTest.php +++ b/tests/lib/DB/QueryBuilder/QueryBuilderTest.php @@ -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() ); } |