From a0c5cc7dc193354a0042d4d3a69139b0ae6c8db7 Mon Sep 17 00:00:00 2001 From: Paul McKeown Date: Mon, 4 Mar 2024 16:11:20 +1300 Subject: [PATCH] Trialling behat that uses localhost:4000 if bht_ set (ie, hack in jobesandbox.php) --- classes/jobesandbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/jobesandbox.php b/classes/jobesandbox.php index ea2e0106..ebd00005 100644 --- a/classes/jobesandbox.php +++ b/classes/jobesandbox.php @@ -76,7 +76,7 @@ public function __construct() { // Hack to force use of a local jobe host when behat testing. if ($CFG->prefix == "bht_") { - $this->jobeserver = "localhost"; + $this->jobeserver = "localhost:4000"; } else { $this->jobeserver = get_config('qtype_coderunner', 'jobe_host'); }