diff options
author | Anna Larch <anna@nextcloud.com> | 2024-06-04 12:17:23 +0200 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2024-06-04 12:17:23 +0200 |
commit | 602496ec8747429788c7a6ee4f8330b5909cf2d9 (patch) | |
tree | f28660378888ea9c553fefe2da3f0787c29a1875 | |
parent | 674d48bddd782558f426f7135f320600e5df7be2 (diff) | |
download | nextcloud-server-602496ec8747429788c7a6ee4f8330b5909cf2d9.tar.gz nextcloud-server-602496ec8747429788c7a6ee4f8330b5909cf2d9.zip |
fixup! fix(caldav): automatically delete outdated scheduling objects
-rw-r--r-- | apps/settings/tests/Controller/CheckSetupControllerTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings/tests/Controller/CheckSetupControllerTest.php b/apps/settings/tests/Controller/CheckSetupControllerTest.php index 8261f322b53..67fd97aaeaa 100644 --- a/apps/settings/tests/Controller/CheckSetupControllerTest.php +++ b/apps/settings/tests/Controller/CheckSetupControllerTest.php @@ -47,6 +47,7 @@ use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataDisplayResponse; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\RedirectResponse; +use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\EventDispatcher\IEventDispatcher; use OCP\Http\Client\IClientService; use OCP\IConfig; @@ -610,6 +611,9 @@ class CheckSetupControllerTest extends TestCase { $sqlitePlatform = $this->getMockBuilder(SqlitePlatform::class)->getMock(); $this->connection->method('getDatabasePlatform') ->willReturn($sqlitePlatform); + $queryBuilder = $this->getMockBuilder(IQueryBuilder::class)->getMock(); + $this->connection->method('getQueryBuilder') + ->willReturn($queryBuilder); $expected = new DataResponse( [ |