Skip to content

Commit

Permalink
fixup! fix(caldav): automatically delete outdated scheduling objects
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Jun 4, 2024
1 parent 674d48b commit 602496e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/settings/tests/Controller/CheckSetupControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
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;
Expand Down Expand Up @@ -610,6 +611,9 @@ public function testCheck() {
$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(
[
Expand Down

0 comments on commit 602496e

Please sign in to comment.