MDL-54742 general: Remove strings deprecated in 3.2
This commit is contained in:
@@ -75,11 +75,11 @@ class core_string_manager_standard_testcase extends advanced_testcase {
|
||||
$this->assertFalse($stringman->string_deprecated('hidden', 'grades'));
|
||||
|
||||
// Check deprecated string.
|
||||
$this->assertTrue($stringman->string_deprecated('modchooserenable', 'core'));
|
||||
$this->assertTrue($stringman->string_exists('modchooserenable', 'core'));
|
||||
$this->assertTrue($stringman->string_deprecated('groupextendenrol', 'core'));
|
||||
$this->assertTrue($stringman->string_exists('groupextendenrol', 'core'));
|
||||
$this->assertDebuggingNotCalled();
|
||||
$this->assertEquals('Activity chooser on', get_string('modchooserenable', 'core'));
|
||||
$this->assertDebuggingCalled('String [modchooserenable,core] is deprecated. '.
|
||||
$this->assertEquals('Extend enrolment (common)', get_string('groupextendenrol', 'core'));
|
||||
$this->assertDebuggingCalled('String [groupextendenrol,core] is deprecated. '.
|
||||
'Either you should no longer be using that string, or the string has been incorrectly deprecated, in which case you should report this as a bug. '.
|
||||
'Please refer to https://docs.moodle.org/dev/String_deprecation');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user