Skip to content

Commit 2ef454d

Browse files
committed
fixup! fix(tests): Clean up the AppConfig test file
1 parent ab3c548 commit 2ef454d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/AppConfigTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function testGetValuesNotAllowed(): void {
284284
public function testGetValues(): void {
285285
$config = $this->createAppConfig();
286286

287-
$sql = \OC::$server->getDatabaseConnection()->getQueryBuilder();
287+
$sql = $this->connection->getQueryBuilder();
288288
$sql->select(['configkey', 'configvalue'])
289289
->from('appconfig')
290290
->where($sql->expr()->eq('appid', $sql->createParameter('appid')))

0 commit comments

Comments
 (0)