summaryrefslogtreecommitdiffstats
path: root/tests/lib/Repair
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-24 18:05:08 +0200
committerJoas Schilling <coding@schilljs.com>2017-08-02 09:48:16 +0200
commit2f8756754ff62a199cd6cc2a530a14fe5bd77c17 (patch)
tree6e134239c51276b9f4c0f763a1345f0a4a535504 /tests/lib/Repair
parent293dea0625ba76969c05fda47b2f5400bbaf523e (diff)
downloadnextcloud-server-2f8756754ff62a199cd6cc2a530a14fe5bd77c17.tar.gz
nextcloud-server-2f8756754ff62a199cd6cc2a530a14fe5bd77c17.zip
Fix last failures with oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Repair')
-rw-r--r--tests/lib/Repair/NC12/UpdateLanguageCodesTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php b/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php
index 4379d1ba589..46422589541 100644
--- a/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php
+++ b/tests/lib/Repair/NC12/UpdateLanguageCodesTest.php
@@ -24,6 +24,7 @@
namespace Test\Repair\NC12;
use OC\Repair\NC12\UpdateLanguageCodes;
+use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IConfig;
use OCP\Migration\IOutput;
use Test\TestCase;
@@ -152,7 +153,7 @@ class UpdateLanguageCodesTest extends TestCase {
->where($qb->expr()->eq('userid', $qb->createNamedParameter($user['userid'])))
->andWhere($qb->expr()->eq('appid', $qb->createNamedParameter('core')))
->andWhere($qb->expr()->eq('configkey', $qb->createNamedParameter('lang')))
- ->andWhere($qb->expr()->eq('configvalue', $qb->createNamedParameter($user['configvalue'])))
+ ->andWhere($qb->expr()->eq('configvalue', $qb->createNamedParameter($user['configvalue']), IQueryBuilder::PARAM_STR))
->execute();
}
}