Skip to content

Commit

Permalink
Merge pull request #31 from gdubost/feature/33186
Browse files Browse the repository at this point in the history
[FEATURE#33186] Ajout de la possiblité de parametrer la base_url
  • Loading branch information
TinyTinyKame authored Apr 26, 2017
2 parents 531bce3 + 3e384ab commit 112c09d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ApiContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class ApiContext extends BaseContext
* Initializes context.
* Every scenario gets it's own context object.
*/
public function __construct()
public function __construct($base_url = "http://localhost:8080")
{
$this->base_url = "http://localhost:8080";
$this->base_url = $base_url;
$this->request = [
"headers" => [],
"cookies" => [],
Expand Down

0 comments on commit 112c09d

Please sign in to comment.