MDL-43557 events: fixed minor issues in existing events
This commit is contained in:
@@ -291,13 +291,5 @@ class core_authlib_testcase extends advanced_testcase {
|
||||
} catch(Exception $e) {
|
||||
$this->assertInstanceOf('coding_exception', $e);
|
||||
}
|
||||
|
||||
try {
|
||||
$event = \core\event\user_loggedin::create(array('other' => array('username' => 'test')));
|
||||
$this->fail('\core\event\user_loggedin requires objectid');
|
||||
} catch(Exception $e) {
|
||||
$this->assertInstanceOf('coding_exception', $e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user