mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Trimming expected output of WebserverRoutingTest (newlines before the "ok" string were causing failures on PHP 5.3)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@103912 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
661dc6c22c
commit
5a68777fe3
@ -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…
Reference in New Issue
Block a user