summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-07-21 09:56:08 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-21 15:25:48 +0200
commitf9071ed5b7449c5f0dfa99a7715a744742281cf1 (patch)
treedbde6e0b5cbe7bae65d5427b6ab76708ef335340 /tests
parentc9564503c2b6635e3e0b9262867f3c2b6e3149cb (diff)
downloadnextcloud-server-f9071ed5b7449c5f0dfa99a7715a744742281cf1.tar.gz
nextcloud-server-f9071ed5b7449c5f0dfa99a7715a744742281cf1.zip
Comment out LIMIT 0 case because of the mixed results
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/db/querybuilder/querybuildertest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/db/querybuilder/querybuildertest.php b/tests/lib/db/querybuilder/querybuildertest.php
index 5810f2c5a20..02e516b7386 100644
--- a/tests/lib/db/querybuilder/querybuildertest.php
+++ b/tests/lib/db/querybuilder/querybuildertest.php
@@ -124,7 +124,8 @@ class QueryBuilderTest extends \Test\TestCase {
public function dataMaxResults() {
return [
[null, [99, 98, 97, 96, 95, 94, 93, 92, 91]],
- [0, []],
+ // Limit 0 gives mixed results: either all entries or none is returned
+ //[0, []],
[1, [99]],
[5, [99, 98, 97, 96, 95]],
];