nextcloud/tests/lib
Morris Jobke dc479aae2d
Improve CertificateManager to not be user context dependent
* removes the ability for users to import their own certificates (for external storage)
* reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions)

The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 00:13:01 +01:00
..
Accounts PSR logger for accounts 2020-10-20 17:41:47 +02:00
Activity Fix activity tests again 2020-08-18 18:21:03 +02:00
App Only retry fetching app store data once every 5 minutes in case it fails 2020-10-16 14:32:58 +02:00
AppFramework Remove deprecated OCSResponse 2020-11-01 14:12:27 +01:00
Archive Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Authentication Use PSR logger in authentication 2020-10-12 22:07:04 +02:00
Avatar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
BackgroundJob Remove getLastJob from IJobList 2020-08-13 21:50:06 +02:00
Cache Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Calendar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Collaboration Bump @nextcloud/vue to 3.0.0 2020-10-20 18:02:45 +02:00
Command Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Comments Fix PHP CS 2020-10-22 11:00:54 +02:00
Contacts/ContactsMenu Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
DB Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Diagnostics Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DirectEditing Do not expose direct editing if no master key is available 2020-09-01 11:40:27 +02:00
Encryption Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Federation Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Files Fix code style 2020-09-09 17:36:58 +02:00
GlobalScale Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Group Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Hooks Remove unused private ForwardEmitter and LegacyEmitter 2020-10-28 22:23:39 +01:00
Http/Client Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01:00
IntegrityCheck Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
L10N Format code to a single space around binary operators 2020-10-05 20:25:24 +02: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 Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Mail Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Memcache Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Migration Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Notification Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
OCS Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Preview Fix existing test and add a specific one for the new case 2020-08-13 23:24:21 +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 Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Route Only load routes of the app which is requested 2020-08-19 21:58:20 +02:00
Security Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01: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 Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Share Update share type constant usage 2020-06-24 16:49:16 +02:00
Share20 use file name instead of path in 'not allowed to share' message 2020-10-29 16:43:21 +01:00
Support Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +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 13:28:00 +02:00
Traits Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Updater Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
User Fix more tests 2020-10-13 08:16:17 +02:00
Util Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
APITest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AllConfigTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AppConfigTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +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 Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
ContactsManagerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
DateTimeFormatterTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +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 Move initial state provider to boostrap 2020-10-04 09:35:33 +02:00
InstallerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
LargeFileHelperGetFileSizeTest.php Don't use deprecated getIniWrapper() anymore 2020-08-20 16:35:38 +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 code to a single space around binary operators 2020-10-05 20:25:24 +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 code to a single space around binary operators 2020-10-05 20:25:24 +02:00
RepairStepTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServerTest.php Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01:00
SetupTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
SubAdminTest.php Change tests to typed event listener 2020-10-28 23:10:23 +01:00
TagsTest.php Make sure getUsersFavoritingObject can be run without a user 2020-10-06 16:49:23 +02:00
TempManagerTest.php Remove unneeded import 2020-08-20 16:53:34 +02:00
TemplateFunctionsTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TestCase.php Overwrite also the new command bus name to execute them in sync in the tests 2020-10-12 21:04:00 +02:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
UpdaterTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
UrlGeneratorTest.php Properly inject IRouter into URLGenerator to properly encapsulate tests 2020-08-19 22:00:47 +02:00
UtilCheckServerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
UtilTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00