server/apps/dav/tests/unit
Thomas Müller ffe034abb0 Don't use runInSeparateProcess
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>
2017-11-27 20:39:45 +01:00
..
AppInfo Update license headers 2017-11-06 16:56:19 +01:00
Avatars Change @georgehrke's email 2017-11-06 20:38:59 +01:00
CalDAV Merge pull request #6840 from nextcloud/feature/5282/calendar_api 2017-11-16 21:10:35 +01:00
CardDAV Merge pull request #7075 from nextcloud/remove-unused-variables 2017-11-07 16:18:40 +01:00
Comments Update license headers 2017-11-06 16:56:19 +01:00
Connector Don't use runInSeparateProcess 2017-11-27 20:39:45 +01:00
DAV Change @georgehrke's email 2017-11-06 20:38:59 +01:00
Files Update license headers 2017-11-06 16:56:19 +01:00
Migration Update license headers 2017-11-06 16:56:19 +01:00
Settings Change @georgehrke's email 2017-11-06 20:38:59 +01:00
SystemTag Update license headers 2017-11-06 16:56:19 +01:00
Upload Update license headers 2017-11-06 16:56:19 +01:00
bootstrap.php Fix apps/ 2016-07-21 18:13:57 +02:00
CapabilitiesTest.php Update license headers 2017-11-06 16:56:19 +01:00
phpunit.xml Adding AvatarHomeTest 2017-03-29 00:04:29 +02:00
ServerTest.php Update license headers 2017-11-06 16:56:19 +01:00