MDL-60418 Behat: Fix missing $installurl
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 25 Apr 2019 21:38:01 +0000 (23:38 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 25 Apr 2019 21:38:01 +0000 (23:38 +0200)
admin/tool/behat/renderer.php

index 3bd03fe..7de834a 100644 (file)
@@ -162,7 +162,8 @@ class tool_behat_renderer extends plugin_renderer_base {
         $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';