Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Trimming expected output of WebserverRoutingTest (newlines bef…

…ore the "ok" string were causing failures on PHP 5.3) (from r103912)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112324 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit d25916b8101db400b89dbe82acd8eb9f69cc7ac1 1 parent 28a7b03
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/WebserverRoutingTest.php
View
2  tests/WebserverRoutingTest.php
@@ -26,7 +26,7 @@ function testCanAccessWebserverThroughCurl() {
$info = curl_getinfo($ch);
$this->assertEquals(curl_error($ch), '');
- $this->assertEquals($response, 'ok');
+ $this->assertEquals(trim($response), 'ok');
curl_close($ch);
}
Please sign in to comment.
Something went wrong with that request. Please try again.