nextcloud/tests/Core/Controller
Morris Jobke 4ef302c0be
Request->getHeader() should always return a string
PHPDoc (of the public API) says that this method returns string but it also returns null, which is not allowed in some method calls. This fixes that behaviour and returns an empty string and fixes all code paths that explicitly checked for null to be still compliant.

Found while enabling the strict_typing for lib/private for the PHP7+ migration.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-17 09:51:31 +01:00
..
AutoCompleteControllerTest.php don't create sorter instances when none was requested 2017-11-28 13:30:51 +01:00
AvatarControllerTest.php Fix tests 2017-11-29 14:23:15 +01:00
ChangePasswordControllerTest.php Use ::class in test mocks 2017-10-24 17:45:32 +02:00
ClientFlowLoginControllerTest.php Request->getHeader() should always return a string 2018-01-17 09:51:31 +01:00
ContactsMenuControllerTest.php add contactsmenu popover 2017-04-26 09:26:53 +02:00
CssControllerTest.php Automatic injection for CssController 2017-05-10 09:42:40 +02:00
JsControllerTest.php Automatic injection for JsController 2017-05-10 09:42:15 +02:00
LoginControllerTest.php Fix tests 2018-01-15 21:43:11 +01:00
LostControllerTest.php Fix tests 2018-01-13 13:58:06 +01:00
OCSControllerTest.php Fix tests 2017-08-01 08:20:17 +02:00
PreviewControllerTest.php Add cache 1 day cache to preview endpoint 2016-11-03 14:00:33 +01:00
TwoFactorChallengeControllerTest.php Properly allow \OCP\Authentication\IApacheBackend to specify logout URL 2017-08-18 12:22:44 +02:00
UserControllerTest.php Adds user controller tests 2016-12-30 13:26:26 +01:00