mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-53102 tests: corrected phpdocs in email diversion tests
(Introduced by previous patch MDL-52818)
This commit is contained in:
parent
54dceeed88
commit
344178035d
@ -2685,6 +2685,9 @@ class core_moodlelib_testcase extends advanced_testcase {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A data provider for testing email diversion
|
||||
*/
|
||||
public function diverted_emails_provider() {
|
||||
return array(
|
||||
'nodiverts' => array(
|
||||
@ -2737,7 +2740,14 @@ class core_moodlelib_testcase extends advanced_testcase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test email diversion
|
||||
*
|
||||
* @dataProvider diverted_emails_provider
|
||||
*
|
||||
* @param string $divertallemailsto An optional email address
|
||||
* @param string $divertallemailsexcept An optional exclusion list
|
||||
* @param array $addresses An array of test addresses
|
||||
* @param boolean $expected Expected result
|
||||
*/
|
||||
public function test_email_should_be_diverted($divertallemailsto, $divertallemailsexcept, $addresses, $expected) {
|
||||
global $CFG;
|
||||
|
Loading…
x
Reference in New Issue
Block a user