Permalink
Browse files

BUG fix inexistent base_url context parameter

  • Loading branch information...
1 parent b09f4cf commit 396743406fba294bff034a5c098337b33f3a1b80 @michalochman committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 features/bootstrap/SilverStripe/Test/Behaviour/BasicContext.php
@@ -188,7 +188,7 @@ public function stepIShouldBeRedirectedTo($url)
$client->followRedirects(true);
$client->followRedirect();
- $url = $this->getMainContext()->joinUrlParts($this->getMainContext()->getBaseUrl(), $url);
+ $url = $this->getMainContext()->joinUrlParts($this->context['base_url'], $url);
assertTrue($this->getMainContext()->isCurrentUrlSimilarTo($url), sprintf('Current URL is not %s', $url));
}

0 comments on commit 3967434

Please sign in to comment.