diff --git a/admin/tool/behat/renderer.php b/admin/tool/behat/renderer.php index 3bd03fe43822a..7de834a6b07de 100644 --- a/admin/tool/behat/renderer.php +++ b/admin/tool/behat/renderer.php @@ -162,7 +162,8 @@ protected function generic_info() { $html .= $this->output->heading($title); // Info. - $installlink = html_writer::tag('a', $installurl, array('href' => behat_command::DOCS_URL, 'target' => '_blank')); + $installurl = behat_command::DOCS_URL; + $installlink = html_writer::tag('a', $installurl, array('href' => $installurl, 'target' => '_blank')); $writetestsurl = 'https://docs.moodle.org/dev/Writing acceptance tests'; $writetestslink = html_writer::tag('a', $writetestsurl, array('href' => $writetestsurl, 'target' => '_blank')); $writestepsurl = 'https://docs.moodle.org/dev/Writing_new_acceptance_test_step_definitions';