fix: integration tests

Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
Luka Trovic
2022-03-08 10:27:06 +01:00
committed by Julius Härtl
parent b7f3c2d140
commit 981fc8e16f
4 changed files with 47 additions and 10 deletions

View File

@@ -82,7 +82,7 @@ class TransferOwnershipTest extends \Test\TestCase {
*/
public function testTransferBoardOwnership() {
$this->boardService->transferOwnership(self::TEST_USER_1, self::TEST_USER_2);
$this->invokePrivate($this->boardService, 'clearBoardsCache');
/* $this->invokePrivate($this->boardService, 'clearBoardsCache'); */
$board = $this->boardService->find($this->board->getId());
$boardOwner = $board->getOwner();
$this->assertEquals(self::TEST_USER_2, $boardOwner);