summaryrefslogtreecommitdiffstats
path: root/tests/lib/DB
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-10 13:21:39 -0500
committerGitHub <noreply@github.com>2017-04-10 13:21:39 -0500
commita045f3c4d7ef606ea302712952ec474d5ea5637a (patch)
tree4edf7b74e8220a4ed06fc1f3e9b2b7064e21cd6a /tests/lib/DB
parenta750436ebc3a71f4fe34596cc0bdb1f9b61ba912 (diff)
parent11c1e5dd8641e38c44e49d0f527444be7f92da1b (diff)
downloadnextcloud-server-a045f3c4d7ef606ea302712952ec474d5ea5637a.tar.gz
nextcloud-server-a045f3c4d7ef606ea302712952ec474d5ea5637a.zip
Merge pull request #4146 from nextcloud/unread-comments-folder
Allow getting the unread comment count for an entire folder at once
Diffstat (limited to 'tests/lib/DB')
-rw-r--r--tests/lib/DB/QueryBuilder/QueryBuilderTest.php2
-rw-r--r--tests/lib/DB/QueryBuilder/QuoteHelperTest.php2
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'],