nextcloud-server/tests/lib/AppFramework
Roeland Jago Douma d0f8fa4619 Check the actual status code for 204 and 304
The header is the full http header like: HTTP/1.1 304 Not Modified
So comparing this to an int always yields false
This also makes the 304 RFC compliant as the resulting content length
should otherwise be the length of the message and not 0.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-24 17:52:33 +07:00
..
Controller CSP: Allow fonts to be provided in data 2019-01-07 14:40:23 +07:00
Db Fix "Undefined method setExpectedException()" 2018-01-24 18:10:16 +07:00
DependencyInjection Fix tests 2018-11-02 19:20:37 +07:00
Http CSP: Allow fonts to be provided in data 2019-01-07 14:40:23 +07:00
Middleware Do not use file as template parameter 2018-08-09 16:45:25 +07:00
Routing Use ::class in test mocks 2017-10-24 17:45:32 +07:00
Utility Add tests for multiple parameters 2017-04-13 12:00:18 +07:00
AppTest.php Check the actual status code for 204 and 304 2019-05-24 17:52:33 +07:00