We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3c548 commit 2ef454dCopy full SHA for 2ef454d
tests/lib/AppConfigTest.php
@@ -284,7 +284,7 @@ public function testGetValuesNotAllowed(): void {
284
public function testGetValues(): void {
285
$config = $this->createAppConfig();
286
287
- $sql = \OC::$server->getDatabaseConnection()->getQueryBuilder();
+ $sql = $this->connection->getQueryBuilder();
288
$sql->select(['configkey', 'configvalue'])
289
->from('appconfig')
290
->where($sql->expr()->eq('appid', $sql->createParameter('appid')))
0 commit comments