diff options
author | Dariusz Olszewski <starypatyk@users.noreply.github.com> | 2022-08-22 22:50:48 +0200 |
---|---|---|
committer | Dariusz Olszewski <starypatyk@users.noreply.github.com> | 2022-08-22 22:50:58 +0200 |
commit | dcb78699c1b1b6bf4d63c35495b67ffaa0ea5379 (patch) | |
tree | 76db539630c37d53b88c519768e7ed3f059d365b /tests | |
parent | 31e130adde70a94d39f8d072e6450725d1936e96 (diff) |
Trying to fix failing PHPUnit tests
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Controller/ChatControllerTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/php/Controller/ChatControllerTest.php b/tests/php/Controller/ChatControllerTest.php index 9a79d0916..b1d5ec4df 100644 --- a/tests/php/Controller/ChatControllerTest.php +++ b/tests/php/Controller/ChatControllerTest.php @@ -37,6 +37,7 @@ use OCA\Talk\Room; use OCA\Talk\Service\AttachmentService; use OCA\Talk\Service\ParticipantService; use OCA\Talk\Service\SessionService; +use OCA\Talk\Share\RoomShareProvider; use OCP\App\IAppManager; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; @@ -76,6 +77,8 @@ class ChatControllerTest extends TestCase { protected $guestManager; /** @var MessageParser|MockObject */ protected $messageParser; + /** @var RoomShareProvider|MockObject */ + protected $roomShareProvider; /** @var IManager|MockObject */ protected $autoCompleteManager; /** @var IUserStatusManager|MockObject */ @@ -118,6 +121,7 @@ class ChatControllerTest extends TestCase { $this->attachmentService = $this->createMock(AttachmentService::class); $this->guestManager = $this->createMock(GuestManager::class); $this->messageParser = $this->createMock(MessageParser::class); + $this->roomShareProvider = $this->createMock(RoomShareProvider::class); $this->autoCompleteManager = $this->createMock(IManager::class); $this->statusManager = $this->createMock(IUserStatusManager::class); $this->matterbridgeManager = $this->createMock(MatterbridgeManager::class); @@ -155,6 +159,7 @@ class ChatControllerTest extends TestCase { $this->attachmentService, $this->guestManager, $this->messageParser, + $this->roomShareProvider, $this->autoCompleteManager, $this->statusManager, $this->matterbridgeManager, |