Skip to content

Commit

Permalink
Trialling behat that uses localhost:4000 if bht_ set (ie, hack in job…
Browse files Browse the repository at this point in the history
…esandbox.php)
  • Loading branch information
mckeownp committed Mar 4, 2024
1 parent 87f7500 commit a0c5cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/jobesandbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit a0c5cc7

Please sign in to comment.