mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
Merge branch 'MDL-44606-master' of http://github.com/damyon/moodle
This commit is contained in:
commit
5140fac5da
@ -472,6 +472,7 @@ class assign_events_testcase extends mod_assign_base_testcase {
|
||||
}
|
||||
|
||||
public function test_submission_graded() {
|
||||
$this->editingteachers[0]->ignoresesskey = true;
|
||||
$this->setUser($this->editingteachers[0]);
|
||||
$assign = $this->create_instance();
|
||||
|
||||
@ -555,6 +556,8 @@ class assign_events_testcase extends mod_assign_base_testcase {
|
||||
);
|
||||
$this->assertEventLegacyLogData($expected, $event);
|
||||
$sink->close();
|
||||
// Revert to defaults.
|
||||
$this->editingteachers[0]->ignoresesskey = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user