mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-70755' of https://github.com/mkassaei/moodle
This commit is contained in:
commit
007c270507
@ -88,7 +88,7 @@ $headers = [];
|
||||
|
||||
// Fetch all overrides.
|
||||
if ($groupmode) {
|
||||
$colname = get_string('group');
|
||||
$headers[] = get_string('group');
|
||||
// To filter the result by the list of groups that the current user has access to.
|
||||
if ($groups) {
|
||||
$params = ['quizid' => $quiz->id];
|
||||
|
@ -76,6 +76,9 @@ Feature: Quiz group override
|
||||
| Attempts allowed | 2 |
|
||||
And I press "Save"
|
||||
Then "Group 1" "table_row" should exist
|
||||
# Check all column headers are present.
|
||||
And I should see "Group" in the "Overrides" "table_row"
|
||||
And I should see "Action" in the "Overrides" "table_row"
|
||||
|
||||
Scenario: A teacher with accessallgroups permission should see all group overrides
|
||||
Given the following "mod_quiz > group overrides" exist:
|
||||
|
Loading…
x
Reference in New Issue
Block a user