mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-60680 notifications: Include action buttons information
This commit is contained in:
parent
36fa0ec900
commit
2356454f21
12 changed files with 77 additions and 27 deletions
|
@ -309,7 +309,7 @@ class core_badges_badgeslib_testcase extends advanced_testcase {
|
|||
$this->assertCount(1, $messages);
|
||||
$message = array_pop($messages);
|
||||
// Check we have the expected data.
|
||||
$customdata = json_decode($message->customdata);
|
||||
$customdata = json_decode($message->customdata);
|
||||
$this->assertObjectHasAttribute('notificationiconurl', $customdata);
|
||||
$this->assertObjectHasAttribute('hash', $customdata);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue