Merge branch 'MDL-81521-main' of https://github.com/andrewnicols/moodle
This commit is contained in:
@@ -281,7 +281,7 @@ class base_test extends advanced_testcase {
|
||||
*
|
||||
* @return array the testing scenarios
|
||||
*/
|
||||
public function get_output_classname_provider(): array {
|
||||
public static function get_output_classname_provider(): array {
|
||||
return [
|
||||
'overridden class' => [
|
||||
'find' => 'state\\course',
|
||||
@@ -516,7 +516,7 @@ class base_test extends advanced_testcase {
|
||||
*
|
||||
* @return array the testing scenarios
|
||||
*/
|
||||
public function delete_format_data_provider(): array {
|
||||
public static function delete_format_data_provider(): array {
|
||||
return [
|
||||
'direct call' => [
|
||||
'usehook' => false
|
||||
@@ -604,7 +604,7 @@ class base_test extends advanced_testcase {
|
||||
*
|
||||
* @return array the testing scenarios
|
||||
*/
|
||||
public function get_format_string_provider(): array {
|
||||
public static function get_format_string_provider(): array {
|
||||
return [
|
||||
'Existing in format lang' => [
|
||||
'key' => 'addsection',
|
||||
@@ -683,7 +683,7 @@ class base_test extends advanced_testcase {
|
||||
*
|
||||
* @return array the testing scenarios
|
||||
*/
|
||||
public function move_section_after_provider(): array {
|
||||
public static function move_section_after_provider(): array {
|
||||
return [
|
||||
'Move top' => [
|
||||
'movesection' => 'section3',
|
||||
@@ -794,7 +794,7 @@ class base_test extends advanced_testcase {
|
||||
*
|
||||
* @return array the testing scenarios
|
||||
*/
|
||||
public function get_non_ajax_cm_action_url_provider(): array {
|
||||
public static function get_non_ajax_cm_action_url_provider(): array {
|
||||
return [
|
||||
'duplicate' => [
|
||||
'action' => 'cmDuplicate',
|
||||
|
||||
Reference in New Issue
Block a user