diff --git a/tests/tool_deletemessage.php b/tests/tool_deletemessage.php index 4dbae5d..a8767b7 100644 --- a/tests/tool_deletemessage.php +++ b/tests/tool_deletemessage.php @@ -37,7 +37,7 @@ class tool_deletemessage_test extends \advanced_testcase { * Make message to tests * @return int message id */ - private function make_message(){ + private function make_message() { $userfrom = $this->getDataGenerator()->create_user(); $userto = $this->getDataGenerator()->create_user(); @@ -55,7 +55,7 @@ private function make_message(){ $message->fullmessageformat = FORMAT_PLAIN; $message->fullmessagehtml = $messagetext; $message->smallmessage = $messagetext; - + return message_send($message); }