nextcloud/tests/lib
Daniel Calviño Sánchez 1aed476937 Fix unit test for expiration date without date but with default
The expiration date was explicitly given, so it was not testing what it
should. Moreover, "link_defaultExpDays" needs to be mapped when testing
the default value (even if it will just fallback to the value of
"shareapi_expire_after_n_days").

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:02 +00:00
..
Accounts Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Activity Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
App Apply code style fixes 2020-11-11 16:43:41 +01:00
AppFramework Use assertStringContainsString instead of assertContains on strings 2020-07-23 20:26:44 +00:00
Archive Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Authentication Allow configuring the activity update interval of token 2020-10-06 08:04:19 +00:00
Avatar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
BackgroundJob Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Cache Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
Calendar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Collaboration In case the group backend returns $limit or more results it is expected to contain more results 2020-08-21 11:23:15 +00:00
Command Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
Comments Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Contacts/ContactsMenu Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DB Remove deprecated test of internal attributes via assertAttributeEquals 2020-07-23 20:26:44 +00:00
Diagnostics Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Federation Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Files Apply code style fixes 2020-11-11 16:43:41 +01:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Hooks Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Http/Client Revert "[stable19] Do not read certificate bundle from data dir by default" 2020-07-03 14:21:38 +02:00
IntegrityCheck Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
L10N Use assertEqualsCanonicalizing instead of deprecated assertEquals parameter 2020-07-23 20:26:45 +00:00
Lock Use the shorter phpunit syntax for mocked return values 2020-03-25 22:21:27 +01:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Mail Provide the proper language to the mailer 2020-04-16 09:04:13 +02:00
Memcache Add visibility to all constants 2020-04-10 16:54:27 +02:00
Migration Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Notification Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
OCS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Preview fix memory leak caused by not destroying image in Preview/Generate.php 2020-08-05 20:41:25 +00:00
PublicNamespace Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Remote Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Repair Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Security Use random_bytes 2020-05-11 12:23:02 +00:00
Session Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Settings Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports 2020-03-27 17:14:08 +01:00
Share Add visibility to all constants 2020-04-10 16:54:27 +02:00
Share20 Fix unit test for expiration date without date but with default 2020-11-16 13:20:02 +00:00
Support Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemTag Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template Clear cached app config while waiting for the SCSSCache to finish processing the file 2020-10-16 18:18:26 +02:00
Traits ensure mounts are scanned during tests 2020-07-09 12:33:20 +00:00
Updater Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
User Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Util Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
APITest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
AllConfigTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
AppConfigTest.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
AppTest.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
AutoLoaderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
CapabilitiesManagerTest.php Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
ConfigTest.php Remove deprecated test of internal attributes via assertAttributeEquals 2020-07-23 20:26:44 +00:00
ContactsManagerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DateTimeFormatterTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
ErrorHandlerTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
FileChunkingTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
HelperStorageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
HookHelper.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
ImageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
InfoXmlTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateServiceTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InstallerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LargeFileHelperGetFileSizeTest.php Fix multiline comments 2020-04-08 22:24:54 +02:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
LoggerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfoTest.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00
NaturalSortTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NavigationManagerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RepairStepTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServerTest.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
SetupTest.php Use the shorter phpunit syntax for mocked return values 2020-03-25 22:21:27 +01:00
SubAdminTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TagsTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TempManagerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TemplateFunctionsTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TestCase.php ensure mounts are scanned during tests 2020-07-09 12:33:20 +00:00
TestMoveableMountPoint.php
UpdaterTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
UrlGeneratorTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
UtilCheckServerTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
UtilTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00