aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_functional_test_case.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-05-28 14:10:27 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-05-28 14:10:27 +0200
commit3d6620f0db5dbbf9b1f59ec865854a1dcd2e3179 (patch)
tree5c5a06d011e127d489b4d7d2552f3ab818c677a9 /tests/test_framework/phpbb_functional_test_case.php
parent9be57ec076eb1c819c6a6a51c4f2ba9f3e3c915d (diff)
downloadforums-3d6620f0db5dbbf9b1f59ec865854a1dcd2e3179.tar
forums-3d6620f0db5dbbf9b1f59ec865854a1dcd2e3179.tar.gz
forums-3d6620f0db5dbbf9b1f59ec865854a1dcd2e3179.tar.bz2
forums-3d6620f0db5dbbf9b1f59ec865854a1dcd2e3179.tar.xz
forums-3d6620f0db5dbbf9b1f59ec865854a1dcd2e3179.zip
[ticket/11568] Trim the output to allow Tabs before INCLUDE overall_header
PHPBB3-11568
Diffstat (limited to 'tests/test_framework/phpbb_functional_test_case.php')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index 1725a45e38..4ebe1d2d17 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -468,6 +468,6 @@ class phpbb_functional_test_case extends phpbb_test_case
$content = self::$client->getResponse()->getContent();
// Any output before the doc type means there was an error
- self::assertStringStartsWith('<!DOCTYPE', $content, 'Output found before DOCTYPE specification.');
+ self::assertStringStartsWith('<!DOCTYPE', trim($content), 'Output found before DOCTYPE specification.');
}
}