Skip to content

Commit

Permalink
fixup! fix(db): also chunk MariaDB deletes
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Sep 12, 2023
1 parent 2acf458 commit 88ef7ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/DataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use OCP\IUserSession;
use OCP\Util;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;

/**
* Class DataTest
Expand Down Expand Up @@ -61,10 +62,12 @@ protected function setUp(): void {
$activityManager = $this->createMock(IManager::class);
$this->dbConnection = \OC::$server->get(IDBConnection::class);
$this->realActivityManager = \OC::$server->get(IManager::class);
$this->logger = $this->createMock(LoggerInterface::class);

$this->data = new Data(
$activityManager,
$this->dbConnection
$this->dbConnection,
$this->logger
);
}

Expand Down

0 comments on commit 88ef7ac

Please sign in to comment.