Skip to content

Commit

Permalink
MDL-77132 phpunit: fix data provider method names.
Browse files Browse the repository at this point in the history
Orginally missed in 1d74ef1 when only the notation was updated,
excluding the actual provider method names.
  • Loading branch information
paulholden committed Feb 3, 2023
1 parent 0f63540 commit f3142c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions calendar/tests/externallib_test.php
Expand Up @@ -2628,7 +2628,7 @@ public function test_get_calendar_event_by_id_no_course_permission() {
*
* @return array
*/
public function test_get_calendar_event_by_id_prevent_read_other_users_events_data_provider(): array {
public function get_calendar_event_by_id_prevent_read_other_users_events_data_provider(): array {
$syscontext = context_system::instance();
$managerrole = 'manager';
return [
Expand Down Expand Up @@ -2699,7 +2699,7 @@ public function test_get_calendar_event_by_id_prevent_read_other_users_events(
*
* @return array
*/
public function test_edit_or_delete_other_users_events_data_provider(): array {
public function edit_or_delete_other_users_events_data_provider(): array {
$syscontext = context_system::instance();
$managerrole = 'manager';
return [
Expand Down
2 changes: 1 addition & 1 deletion message/tests/api_test.php
Expand Up @@ -6443,7 +6443,7 @@ public function test_get_conversation_with_muted_conversation() {
/**
* Data provider for test_get_conversation_counts().
*/
public function test_get_conversation_counts_test_cases() {
public function get_conversation_counts_test_cases() {
$typeindividual = \core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL;
$typegroup = \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP;
$typeself = \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF;
Expand Down

0 comments on commit f3142c1

Please sign in to comment.