ffe034abb0
Directly calling "header" in the PHPUnit process causes the "Cannot modify header information - headers already sent by" error to be thrown. Instead of running the test in a separate process, which is slower, this commit wraps the call to "header" in a method that can be mocked in the tests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
---|---|---|
.. | ||
Exception | ||
RequestTest | ||
AuthTest.php | ||
BearerAuthTest.php | ||
BlockLegacyClientPluginTest.php | ||
CommentsPropertiesPluginTest.php | ||
CopyEtagHeaderPluginTest.php | ||
CustomPropertiesBackendTest.php | ||
DirectoryTest.php | ||
DummyGetResponsePluginTest.php | ||
ExceptionLoggerPluginTest.php | ||
FakeLockerPluginTest.php | ||
FilesPluginTest.php | ||
FilesReportPluginTest.php | ||
FileTest.php | ||
MaintenancePluginTest.php | ||
NodeTest.php | ||
ObjectTreeTest.php | ||
PrincipalTest.php | ||
QuotaPluginTest.php | ||
SharesPluginTest.php | ||
TagsPluginTest.php |