Skip to content

Commit

Permalink
Merge branch 'MDL-70773_311' of https://github.com/mkassaei/moodle in…
Browse files Browse the repository at this point in the history
…to MOODLE_311_STABLE
  • Loading branch information
abgreeve committed Feb 11, 2021
2 parents bbb9370 + 963eaa3 commit 3153941
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/overrides.php
Expand Up @@ -233,7 +233,7 @@
} else {
$usercell = new html_table_cell();
$usercell->rowspan = count($fields);
$usercell->text = html_writer::link(new moodle_url($groupurl, ['id' => $override->userid]),
$usercell->text = html_writer::link(new moodle_url($userurl, ['id' => $override->userid]),
fullname($override) . $extranamebit);
$usercells[] = $usercell;

Expand Down
3 changes: 3 additions & 0 deletions mod/quiz/tests/behat/quiz_user_override.feature
Expand Up @@ -69,6 +69,9 @@ Feature: Quiz user override
And "Edit" "icon" should exist in the "Student One" "table_row"
And "copy" "icon" should exist in the "Student One" "table_row"
And "Delete" "icon" should exist in the "Student One" "table_row"
And I follow "Student One"
And I should see "Student One"
And I should see "User details"

@javascript
Scenario: Teacher without 'See full user identity in lists' can see and edit overrides
Expand Down

0 comments on commit 3153941

Please sign in to comment.