diff options
author | Robin Appelman <robin@icewind.nl> | 2017-03-30 11:07:16 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-03-30 12:49:05 +0200 |
commit | 48df99f2e0674984edd283c2dceefdaa03ab924e (patch) | |
tree | 08533353e883b8121eb6b58437ed89b70c5e2533 /tests/lib/DB | |
parent | 2a4d9f71af848410b375acf35e4d6e8397690216 (diff) | |
download | nextcloud-server-48df99f2e0674984edd283c2dceefdaa03ab924e.tar.gz nextcloud-server-48df99f2e0674984edd283c2dceefdaa03ab924e.zip |
fix quote helper test
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib/DB')
-rw-r--r-- | tests/lib/DB/QueryBuilder/QueryBuilderTest.php | 2 | ||||
-rw-r--r-- | tests/lib/DB/QueryBuilder/QuoteHelperTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/DB/QueryBuilder/QueryBuilderTest.php b/tests/lib/DB/QueryBuilder/QueryBuilderTest.php index 22808f586ef..150c772b26c 100644 --- a/tests/lib/DB/QueryBuilder/QueryBuilderTest.php +++ b/tests/lib/DB/QueryBuilder/QueryBuilderTest.php @@ -1200,7 +1200,7 @@ class QueryBuilderTest extends \Test\TestCase { public function dataGetColumnName() { return [ ['column', '', '`column`'], - ['column', 'a', 'a.`column`'], + ['column', 'a', '`a`.`column`'], ]; } diff --git a/tests/lib/DB/QueryBuilder/QuoteHelperTest.php b/tests/lib/DB/QueryBuilder/QuoteHelperTest.php index b83d9eed2df..3c1abd72f66 100644 --- a/tests/lib/DB/QueryBuilder/QuoteHelperTest.php +++ b/tests/lib/DB/QueryBuilder/QuoteHelperTest.php @@ -65,7 +65,7 @@ class QuoteHelperTest extends \Test\TestCase { public function dataQuoteColumnNames() { return [ // Single case - ['d.column', 'd.`column`'], + ['d.column', '`d`.`column`'], ['column', '`column`'], [new Literal('literal'), 'literal'], [new Literal(1), '1'], |