server/tests/lib
Roeland Jago Douma 2e567918c1 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:51:52 +00:00
..
Accounts Use IAccountManager constants 2018-10-15 13:30:31 +02:00
Activity Remove legacy activity stuff 2019-01-24 16:52:38 +01:00
App allow enforcing apps to ignore the max version 2019-03-20 15:16:11 +01:00
AppFramework Check the actual status code for 204 and 304 2019-05-24 17:51:52 +00:00
Archive
Authentication Use the defined func()->count() instead of manual counting 2018-11-08 15:44:45 +01:00
Avatar Switch guest avatars to PNG 2019-02-07 14:23:16 +01:00
BackgroundJob fixup! fixup! Add backgroundjobs to OCP 2018-10-09 15:25:56 +02:00
Cache
Calendar RoomManager/ResourceManager: Inject IServerContainer instead of using OC Server 2018-10-08 01:50:17 +02:00
Collaboration/Collaborators Search sharees on lookup server when explicitly requested by user 2019-02-26 19:44:49 +01:00
Command Fix AsyncBusTests 2019-02-14 20:04:17 +01:00
Comments Match mentions when the username is wrapped in quotes 2018-11-07 12:33:44 +01:00
Contacts/ContactsMenu
DB Update the tests to the comparison logic 2018-12-17 13:52:09 +01:00
Diagnostics
Encryption update encryption wrapper tests 2018-11-29 16:34:49 +01:00
Federation
Files Avoid calculating folder size for parent that needs scan. 2019-03-06 15:23:37 +01:00
GlobalScale
Group Add dispatcher events to User and Group objects 2019-03-01 20:56:59 +01:00
Hooks
Http/Client Fix HTTP client given options being overriden by default options 2018-06-14 21:36:04 +02:00
IntegrityCheck Remove the upload and memory setting 2019-03-04 12:14:22 +01:00
L10N Add simple unit test for findLanguageFromLocale 2018-09-23 20:12:00 +02:00
Lock prevent lock values from going negative with memcache backend 2018-07-05 14:39:10 +02:00
Lockdown
Log Fix tests 2018-10-02 18:37:57 +02:00
Mail Addressing comments, array() to [] 2018-12-17 23:34:55 +01:00
Memcache Drop support for xcache 2018-08-12 17:14:08 +02:00
Migration Properly inject EventDispatched in BackgroundRepair 2019-03-22 10:29:36 +01:00
Notification
OCS
Preview use a fresh appdata factory in background job test 2018-12-06 16:53:13 +01:00
PublicNamespace
Remote
Repair Implement guest avatar endpoint 2019-02-07 14:23:16 +01:00
RichObjectStrings
Security Merge pull request #13327 from nextcloud/allow-bracket-notation-for-remove-ipv6-address 2019-03-06 10:34:02 +01:00
Session
Settings Fix l10n for SettingsManager by injecting the l10n factory 2019-05-21 22:51:26 +00:00
Share
Share20 Correctly determinate the owner in case of shared external storages 2019-02-18 10:57:12 +01:00
Support Add interfaces to interact with subscription from support app 2019-05-13 11:34:59 +00:00
SystemTag
Template more caching for theming 2018-12-07 01:27:49 +01:00
Traits
Updater Backend work to provide NC whats New info to users 2018-07-05 14:33:08 +02:00
User lib/private/User: do not change user properties if value has not changed 2019-04-11 10:11:05 +02:00
Util Return true in the dummy backend for successful display name change 2019-04-11 11:43:33 +02:00
AllConfigTest.php
APITest.php
AppConfigTest.php
AppTest.php always enable cloud federation api 2018-07-02 12:43:43 +02:00
AutoLoaderTest.php
CapabilitiesManagerTest.php
ConfigTest.php
ContactsManagerTest.php
DateTimeFormatterTest.php
ErrorHandlerTest.php
FileChunkingTest.php
HelperStorageTest.php
HookHelper.php
ImageTest.php
InfoXmlTest.php
InitialStateServiceTest.php Add a key parameter to the new initial state API 2019-01-30 16:08:08 +01:00
InstallerTest.php Update CRL to contain revoked files_external_dropbox, passman & payback 2019-02-14 11:49:35 +01:00
LargeFileHelperGetFileSizeTest.php
LargeFileHelperTest.php
LegacyHelperTest.php Remove the upload and memory setting 2019-03-04 12:14:22 +01:00
LoggerTest.php
MemoryInfoTest.php Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
NaturalSortTest.php
NavigationManagerTest.php Use non-absolute logout URL to fix wrong URL in reverse proxy scenario 2019-05-08 17:37:19 +00:00
RepairStepTest.php
ServerTest.php Implement guest avatar endpoint 2019-02-07 14:23:16 +01:00
SetupTest.php Add more test cases 2018-09-30 12:24:38 +02:00
SubAdminTest.php Expose subadmin to OCP 2019-01-29 20:47:35 +01:00
TagsTest.php Add dispatcher events to User and Group objects 2019-03-01 20:56:59 +01:00
TemplateFunctionsTest.php
TempManagerTest.php
TestCase.php whitelist audit.log 2018-06-29 11:03:13 +02:00
TestMoveableMountPoint.php
UpdaterTest.php Revert "Wait for cron to finish before running upgrade command" 2018-11-01 15:23:40 +01:00
UrlGeneratorTest.php Allow empty strings in getAbsoluteURL 2018-11-20 13:36:16 +01:00
UtilCheckServerTest.php
UtilTest.php