diff --git a/admin/settings/courses.php b/admin/settings/courses.php index fdd0f8977a3..a691f933b39 100644 --- a/admin/settings/courses.php +++ b/admin/settings/courses.php @@ -256,7 +256,7 @@ if ($hassiteconfig or has_any_capability($capabilities, $systemcontext)) { new lang_string('communication', 'core_communication'), '')); list($communicationproviders, $defaulprovider) = \core_communication\api:: - get_enabled_providers_and_default('communication_matrix'); + get_enabled_providers_and_default(); $temp->add(new admin_setting_configselect('moodlecourse/coursecommunicationprovider', new lang_string('seleccommunicationprovider', 'communication'), diff --git a/course/tests/behat/course_communication_defaults.feature b/course/tests/behat/course_communication_defaults.feature index d314bef4f09..0dacd2e99eb 100644 --- a/course/tests/behat/course_communication_defaults.feature +++ b/course/tests/behat/course_communication_defaults.feature @@ -2,8 +2,7 @@ Feature: Course communication In order to create a new communication room in for course As an admin - I should have matrix plugin enabled by default - I should not have any plugins enabled by default for existing courses + I should not have any plugins enabled by default for new and existing courses Background: Given the following "courses" exist: @@ -21,7 +20,7 @@ Feature: Course communication | Course short name | C2 | And I press "Save and display" When I navigate to "Communication" in current page administration - Then the field "Communication service" matches value "Matrix" + Then the field "Communication service" matches value "None" Scenario: I should have communication disabled by default for existing courses Given I am on "Course 1" course homepage