nextcloud/tests/lib
Daniel Calviño Sánchez 2f8f06fe37 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 15:37:12 +01:00
..
Accounts Log critical fallback to user default if we can't parse the JSON 2019-12-13 12:39:29 +01:00
Activity Mode to modern phpunit 2019-11-27 15:27:18 +01:00
App Only retry fetching app store data once every 5 minutes in case it fails 2020-11-09 11:47:22 +01:00
AppFramework Use assertStringContainsString instead of assertContains on strings 2020-07-30 13:17:13 +02:00
Archive Remove \OCP\Files::tmpFolder 2018-03-19 10:54:39 +01:00
Authentication Merge pull request #21499 from lmamane/stable18-21285-oneliner 2020-07-08 13:04:58 +02:00
Avatar Mode to modern phpunit 2019-11-27 15:27:18 +01:00
BackgroundJob Make sure to catch php errors during job execution 2020-02-03 08:55:22 +00:00
Cache I love unit tests that mock unnecessary stuff 2019-12-04 15:22:02 +01:00
Calendar Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
Collaboration Fix unit tests 2020-06-23 14:55:26 +02:00
Command Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Comments Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Contacts/ContactsMenu Do not encode contacts menu mailto links 2020-01-30 08:46:09 +00:00
DB Remove deprecated test of internal attributes via assertAttributeEquals 2020-07-30 13:18:14 +02:00
Diagnostics Mode to modern phpunit 2019-11-27 15:27:18 +01:00
DirectEditing CHeck if file already exists during file creation 2020-01-14 07:35:31 +00:00
Encryption Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Federation Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Files use exceptions for error signaling in writeStream 2020-07-31 17:33:10 +02:00
GlobalScale Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Group Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Hooks Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Http/Client Revert "[stable18] Do not read certificate bundle from data dir by default" 2020-07-03 14:21:28 +02:00
IntegrityCheck Mode to modern phpunit 2019-11-27 15:27:18 +01:00
L10N Use assertEqualsCanonicalizing instead of deprecated assertEquals parameter 2020-07-30 13:18:20 +02:00
Lock Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Lockdown Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Log Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
Mail Provide the proper language to the mailer 2020-04-18 11:37:05 +02:00
Memcache Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Migration Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Notification Mode to modern phpunit 2019-11-27 15:27:18 +01:00
OCS Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Preview Mode to modern phpunit 2019-11-27 15:27:18 +01:00
PublicNamespace Migrate tests for contacts manager to correct test class 2018-03-21 10:43:18 +01:00
Remote Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Repair Mode to modern phpunit 2019-11-27 15:27:18 +01:00
RichObjectStrings Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Security Use random_bytes 2020-05-11 12:24:59 +00:00
Session Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Settings Fix unit tests 2020-09-15 11:17:33 +02:00
Share Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Share20 Fix unit test for expiration date without date but with default 2020-11-16 15:37:12 +01:00
Support Mode to modern phpunit 2019-11-27 15:27:18 +01:00
SystemTag Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Template Clear cached app config while waiting for the SCSSCache to finish processing the file 2020-10-16 18:28:54 +02:00
Traits ensure mounts are scanned during tests 2020-07-09 12:33:29 +00:00
Updater Add message for DoesNotExistException 2020-03-02 15:20:38 +00:00
User Add typed create user events 2019-12-03 08:03:57 +01:00
Util Some php-cs fixes 2019-11-22 20:52:10 +01:00
AllConfigTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
APITest.php Remove unused methods and constants from legacy OC_API 2018-03-12 18:03:25 +01:00
AppConfigTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
AppTest.php Allow to force enable apps via CLI 2019-12-13 13:06:12 +01:00
AutoLoaderTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
CapabilitiesManagerTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
ConfigTest.php Remove deprecated test of internal attributes via assertAttributeEquals 2020-07-30 13:18:14 +02:00
ContactsManagerTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
DateTimeFormatterTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
ErrorHandlerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
FileChunkingTest.php Some php-cs fixes 2019-11-22 20:52:10 +01:00
HelperStorageTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
HookHelper.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
ImageTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
InfoXmlTest.php Move settings to an app 2019-09-28 09:39:28 +00:00
InitialStateServiceTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
InstallerTest.php disable timeout on app install via cli 2020-02-12 16:34:58 +00:00
LargeFileHelperGetFileSizeTest.php TO REVERT LATER: disable tests in LargeFileHelperGetFileSizeTest 2019-11-27 15:27:28 +01:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LoggerTest.php Fix the LoggerTests for phpunit 2020-01-06 09:06:52 +01:00
MemoryInfoTest.php Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
NaturalSortTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
NavigationManagerTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
RepairStepTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
ServerTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
SetupTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
SubAdminTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
TagsTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
TemplateFunctionsTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
TempManagerTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
TestCase.php ensure mounts are scanned during tests 2020-07-09 12:33:29 +00:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
UpdaterTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
UrlGeneratorTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
UtilCheckServerTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
UtilTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00