Merge branch 'MDL-73605' of https://github.com/paulholden/moodle
This commit is contained in:
@@ -95,7 +95,8 @@ class subscription_actionbar implements renderable, templatable {
|
||||
}
|
||||
});
|
||||
$urlselect = new url_select($menu, $this->currenturl, ['' => $set], 'selectsubscriptionoptions');
|
||||
$urlselect->set_label(get_string('subscriptions', 'mod_forum'), ['class' => 'accesshide']);
|
||||
$urlselect->set_label(get_string('subscriptionmode', 'mod_forum'), ['class' => 'mr-1']);
|
||||
$urlselect->set_help_icon('subscriptionmode', 'mod_forum');
|
||||
$urlselect->class .= ' float-right';
|
||||
return $urlselect;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ Feature: Changes to the subscription mode of a forum can change subcribers of a
|
||||
Scenario: A change from Forced subscription to Auto subcription causes all participants to be subscribed
|
||||
Given I follow "Test forum name"
|
||||
And I navigate to "Subscriptions" in current page administration
|
||||
When I select "Auto subscription" from the "Subscriptions" singleselect
|
||||
When I select "Auto subscription" from the "Subscription mode" singleselect
|
||||
Then I should not see "There are no subscribers yet for this forum"
|
||||
And I navigate to "Subscriptions" in current page administration
|
||||
And I should see "Student 1"
|
||||
|
||||
Reference in New Issue
Block a user