Skip to content

Commit

Permalink
fixup! fix(tests): Clean up the AppConfig test file
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvergessen committed Jan 25, 2024
1 parent ab3c548 commit 2ef454d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/AppConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function testGetValuesNotAllowed(): void {
public function testGetValues(): void {
$config = $this->createAppConfig();

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

0 comments on commit 2ef454d

Please sign in to comment.