nextcloud/tests/lib
Joas Schilling 25d70bf77f fix(config): Throw PreconditionException always when it didn't match
Previously even when the precondition did not match, the call "passed"
when the after value was the expected one. This however can lead to
race conditions, duplicate code excutions and other things.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-13 11:41:53 +00:00
..
Accounts fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usage 2023-09-25 15:54:21 +02:00
Activity composer run cs:fix 2023-01-20 11:45:08 +01:00
App fix: Fetch custom app store url without internet connection 2024-03-04 20:17:01 +00:00
AppFramework fix(Token): make new scope future compatible 2024-06-12 11:25:35 +02:00
Archive Avoid Deprecation warning from Zip tests on PHP 8.1 2021-12-16 09:58:40 +01:00
Authentication feat(perf): add cache for authtoken lookup 2024-03-25 08:37:00 +00:00
Avatar test: Update tests 2024-04-08 17:09:26 -07:00
BackgroundJob test: update DummyJobList 2024-06-17 13:25:03 +02:00
Cache Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
Calendar composer run cs:fix 2023-01-20 11:45:08 +01:00
Collaboration chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Command chore(3rdparty): remove opis/closure 2023-09-22 17:16:20 +02:00
Comments Cover expire_date with unit tests 2023-04-26 13:21:08 -03:00
Contacts/ContactsMenu feat(contactsmenu): Sort by user status 2023-11-08 21:53:35 +01:00
DB fix(tests): Make PostgreSQL unit tests less flacky by ordering 2024-02-01 12:19:08 +01:00
Diagnostics chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
DirectEditing feat(directediting): Allow opening by file id 2023-02-20 12:16:34 +01:00
Encryption chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Federation adjusts tests for CloudIdManager 2022-08-31 15:47:00 +02:00
Files fix(files): Create non-existent parents of mountpoints 2024-09-04 18:01:36 +00:00
GlobalScale Adapt tests to config value typing 2023-04-05 17:42:14 +02:00
Group fix(groups): allows to save group names with more than 64 characters 2024-05-31 10:54:53 +02:00
Hooks Remove unused private ForwardEmitter and LegacyEmitter 2020-10-28 22:23:39 +01:00
Http fix(security): Handle idn_to_utf8 returning false 2023-12-04 11:18:51 +00:00
IntegrityCheck Adapt tests to config value typing 2023-04-05 17:42:14 +02:00
L10N chore: update expected results for CLDR 42 2023-07-27 13:57:02 +02:00
Lock restore shared lock ttl when releasing 2023-12-22 09:54:13 +00:00
Lockdown composer run cs:fix 2023-01-20 11:45:08 +01:00
Log add unit test for ExceptionSerializer 2022-07-29 12:07:41 +02:00
Mail fix(mail): Fix big logos in mail templates for Outlook 2024-07-19 10:11:43 +02:00
Memcache adjust redis compareSetTTL to use a lua script 2023-12-22 09:54:13 +00:00
Migration chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Net Add remote host validation API 2022-10-31 16:13:28 +01:00
Notification composer run cs:fix 2023-01-20 11:45:08 +01:00
OCS composer run cs:fix 2023-01-20 11:45:08 +01:00
Preview fix: Extend SVG reference check 2024-05-16 10:03:54 +02: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 feat: add setup check for needed mimetype migrations 2024-06-21 11:37:13 +02:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Route test: run tests in child process 2024-07-11 00:25:32 +02:00
Security fix(security): Handle idn_to_utf8 returning false 2023-12-04 11:18:51 +00:00
Session Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Settings chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Share Cleanup tags and Share component 2022-09-29 15:15:28 +00:00
Share20 Revert "Revert "[stable28] Apply group limit on remove from group"" 2024-08-19 16:11:38 +02:00
Support Adapt tests to config value typing 2023-04-05 17:42:14 +02:00
SystemTag fix: Move SystemTags events to IEventDispatcher 2023-07-27 09:57:52 +02:00
Talk Add a Talk API for OCP 2022-02-04 08:53:18 +01:00
Template fix(JSResourceLocator): Consider configured app roots for files 2024-03-07 08:03:09 +00:00
TextProcessing chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Traits Migrate from ILogger to LoggerInterface where needed in the tests 2022-03-24 16:21:26 +01:00
Updater chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
User fix(session): Do not update authtoken last_check for passwordless 2024-05-29 13:23:05 +02:00
Util chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
AllConfigTest.php fix(config): Throw PreconditionException always when it didn't match 2024-09-13 11:41:53 +00:00
APITest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
AppConfigTest.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
AppScriptSortTest.php Sort app scripts topologically by its dependencies 2021-12-29 16:40:05 +01:00
AppTest.php fix: Move AppManager events to IEventDispatcher 2023-07-27 09:57:51 +02:00
AutoLoaderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
CapabilitiesManagerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
ConfigTest.php Fix tests 2020-11-06 09:37:45 +01:00
ContactsManagerTest.php Fix ContactsManagerTest adressbook mocks having a null key 2023-09-05 09:20:26 +02:00
DateTimeFormatterTest.php chore: update expected results for CLDR 42 2023-07-27 13:57:02 +02:00
EmojiHelperTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
ErrorHandlerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
EventSourceFactoryTest.php refactor: migrate OC_EventSource to dependency injection 2023-06-03 21:42:51 +02:00
FileChunkingTest.php Revert "fix(performance): Do not set up filesystem on every call" 2023-02-21 07:36:43 +01:00
HelperStorageTest.php only determine quota_include_external_storage once for quota wrapper 2023-08-18 14:25:28 +02:00
HookHelper.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
ImageTest.php increase preview_max_memory and make it easier to debug 2022-12-22 09:52:46 +01:00
InfoXmlTest.php chore: Drop \OC_App::getAppInfo 2023-06-01 11:31:27 +02:00
InitialStateServiceTest.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
InstallerTest.php Remove deprecated at matcher in tests/lib/InstallerTest.php 2023-09-14 12:52:05 +02:00
LargeFileHelperGetFileSizeTest.php Move findBinaryFinder and isFunctionEnabled away from OC_Helper 2022-08-23 19:44:04 +02:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
LoggerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
MemoryInfoTest.php Add helper to cast to int|float, fix MemoryInfo on 32bits 2023-02-07 11:23:29 +01:00
NaturalSortTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
NavigationManagerTest.php fix: Allow to set custom app order on navigation entries added by closures to NavigationManager 2023-11-14 20:03:28 +01:00
RepairTest.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
ServerTest.php refactor: migrate OC_EventSource to dependency injection 2023-06-03 21:42:51 +02:00
SetupTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
SubAdminTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TagsTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TemplateFunctionsTest.php fix: Correctly add module content type to script tags when scripts with versions are used 2023-07-18 13:10:37 +02:00
TempManagerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TestCase.php feat(CI): Allow apps to test with PHPUnit10 2023-09-21 21:32:15 +02:00
TestMoveableMountPoint.php composer run cs:fix 2023-01-20 11:45:08 +01:00
UpdaterTest.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
UrlGeneratorTest.php fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder 2023-11-20 11:18:47 +01:00
UtilCheckServerTest.php Convert isset ternary to null coalescing operator 2023-08-17 01:36:50 +02:00
UtilTest.php fix(Mailer): Allow to enforce strict email format 2024-06-11 18:38:00 +02:00