mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Trimming expected output of WebserverRoutingTest (newlines before 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
This commit is contained in:
parent
28a7b03bef
commit
d25916b810
@ -26,7 +26,7 @@ class WebserverRoutingTest extends SapphireTest {
|
||||
$info = curl_getinfo($ch);
|
||||
|
||||
$this->assertEquals(curl_error($ch), '');
|
||||
$this->assertEquals($response, 'ok');
|
||||
$this->assertEquals(trim($response), 'ok');
|
||||
|
||||
curl_close($ch);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user