diff options
author | Joas Schilling <coding@schilljs.com> | 2021-01-15 12:41:27 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-02-19 12:45:21 +0300 |
commit | dd6a309539b27275a20f2c79af46a7b86941e868 (patch) | |
tree | 3c5f11d6e6130ebd3800606ccc87a47513526bda /tests | |
parent | 5061304fd847a9941467b1140b5b6abd037e7f84 (diff) |
Allow to know when deleting might not be sufficient
Signed-off-by: Joas Schilling <coding@schilljs.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 1291d4b6b..30086496c 100644 --- a/tests/php/Controller/ChatControllerTest.php +++ b/tests/php/Controller/ChatControllerTest.php @@ -28,6 +28,7 @@ use OCA\Talk\Chat\ChatManager; use OCA\Talk\Chat\MessageParser; use OCA\Talk\Controller\ChatController; use OCA\Talk\GuestManager; +use OCA\Talk\MatterbridgeManager; use OCA\Talk\Model\Message; use OCA\Talk\Participant; use OCA\Talk\Room; @@ -75,6 +76,8 @@ class ChatControllerTest extends TestCase { protected $autoCompleteManager; /** @var IUserStatusManager|MockObject */ protected $statusManager; + /** @var MatterbridgeManager|MockObject */ + protected $matterbridgeManager; /** @var SearchPlugin|MockObject */ protected $searchPlugin; /** @var ISearchResult|MockObject */ @@ -109,6 +112,7 @@ class ChatControllerTest extends TestCase { $this->messageParser = $this->createMock(MessageParser::class); $this->autoCompleteManager = $this->createMock(IManager::class); $this->statusManager = $this->createMock(IUserStatusManager::class); + $this->matterbridgeManager = $this->createMock(MatterbridgeManager::class); $this->searchPlugin = $this->createMock(SearchPlugin::class); $this->searchResult = $this->createMock(ISearchResult::class); $this->eventDispatcher = $this->createMock(IEventDispatcher::class); @@ -142,6 +146,7 @@ class ChatControllerTest extends TestCase { $this->messageParser, $this->autoCompleteManager, $this->statusManager, + $this->matterbridgeManager, $this->searchPlugin, $this->searchResult, $this->timeFactory, |