mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-63547 core_message: deprecated api::delete_conversation()
This commit is contained in:
parent
08cb8a34f9
commit
263ad98436
5 changed files with 78 additions and 4 deletions
|
@ -364,6 +364,7 @@ class core_message_events_testcase extends core_message_messagelib_testcase {
|
|||
// Trigger and capture the event.
|
||||
$sink = $this->redirectEvents();
|
||||
\core_message\api::delete_conversation($user1->id, $user2->id);
|
||||
$this->assertDebuggingCalled();
|
||||
$events = $sink->get_events();
|
||||
|
||||
// Get the user actions for the messages deleted by that user.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue