mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-79155 core_course: Change default communication to none
This commit is contained in:
parent
00f0613f99
commit
44646941f8
@ -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'),
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user