nextcloud/tests/lib
Joas Schilling 7f70f3e182
Fix support tests
2) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #0 (35, 15, 2, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

3) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #1 (35, 45, 15, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

4) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #2 (35, 45, 5, true)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

5) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #3 (35, 45, 55, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

Had to use the Database user backend, as using multiple interfaces is deprecated:
https://github.com/sebastianbergmann/phpunit/issues/3955
> This functionality should be deprecated as "having to use it" is almost always a symptom of bad design.
> More importantly, though, the support for the creation of test doubles that implement multiple interfaces
> resulted in code that is hard to maintain.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 17:36:15 +02:00
..
Accounts Add property scope tests for AccountManager 2021-03-26 13:07:09 +01:00
Activity
App Make the app code checker a NOOP 2021-02-11 11:46:02 +01:00
AppFramework Allow overwriting isAuthenticated 2021-03-09 09:17:30 +01:00
Archive
Authentication Fix unit test 2021-04-16 09:47:52 +02:00
Avatar Add known user check in avatar when v2-private scope 2021-03-26 13:07:10 +01:00
BackgroundJob
Cache
Calendar
Collaboration save a whitespace today 2021-04-20 14:03:01 +02:00
Command
Comments Fix unit tests 2021-02-06 13:07:06 +01:00
Contacts/ContactsMenu Add a setting to restrict returning a full match unless in phonebook or same group 2021-03-10 17:25:57 +01:00
DB Integer 0 is not stored as Null and therefor works 2021-04-16 09:57:27 +02:00
Diagnostics
DirectEditing Get the parent directory before creating a file from a template 2021-04-01 13:48:21 +02:00
Encryption Log and continue when failing to update encryption keys during for individual files 2021-03-19 14:12:07 +01:00
EventDispatcher Fix the legacy dispatcher argument order 2021-02-09 10:47:14 +01:00
Federation set the display name of federated sharees from addressbook 2020-11-24 11:30:11 +01:00
Files Merge pull request #24966 from nextcloud/jknockaert-patch-1 2021-04-06 13:45:10 +02:00
GlobalScale
Group Fix types in the Group Manager 2021-03-03 14:52:47 +01:00
Hooks
Http Adjust test 2021-04-06 11:37:47 +00:00
IntegrityCheck Cleanup the constructor 2021-01-18 11:32:50 +01:00
L10N
Lock Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
Lockdown
Log
Mail Micro-optimize validation of empty email addresses 2021-02-11 15:15:38 +01:00
Memcache
Migration
Notification Allow registering NotifierServices trough IBootstrap 2021-04-16 13:56:28 +02:00
OCS
Preview Skip the test if Imagick is misconfigured 2020-12-09 09:07:20 +01:00
PublicNamespace
Remote
Repair test: adjust expectation 2021-01-29 19:32:12 +01:00
RichObjectStrings
Route
Security Increase subnet matcher 2021-04-07 12:28:59 +00:00
Session
Settings
Share Re-use fetched dependencies in lib/base.php 2021-01-20 21:55:16 +01:00
Share20 Separate settings for remote share expiration 2021-04-15 10:06:09 +02:00
Support Fix support tests 2021-04-20 17:36:15 +02:00
SystemTag
Template Bump scssphp/scssphp from 1.0.3 to 1.4.0 2021-01-11 12:41:25 +01:00
Traits php cs fix 2020-12-07 15:44:04 +01:00
Updater
User Cache the user backend info for 300s 2021-02-15 10:36:08 +01:00
Util
AllConfigTest.php
APITest.php
AppConfigTest.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
AppTest.php
AutoLoaderTest.php
CapabilitiesManagerTest.php
ConfigTest.php
ContactsManagerTest.php
DateTimeFormatterTest.php
ErrorHandlerTest.php
FileChunkingTest.php
HelperStorageTest.php
HookHelper.php
ImageTest.php php cs fix 2020-12-07 15:44:04 +01:00
InfoXmlTest.php
InitialStateServiceTest.php
InstallerTest.php Allow installing/updating of apps again 2021-01-12 10:51:41 +01:00
LargeFileHelperGetFileSizeTest.php Make sure we can also run with escapedshell args 2020-12-07 15:44:04 +01:00
LargeFileHelperTest.php
LegacyHelperTest.php Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 2021-02-18 13:31:24 +01:00
LoggerTest.php
MemoryInfoTest.php
NaturalSortTest.php
NavigationManagerTest.php
RepairStepTest.php log full expection during repair step 2021-03-18 08:45:17 +01:00
ServerTest.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
SetupTest.php
SubAdminTest.php
TagsTest.php
TemplateFunctionsTest.php
TempManagerTest.php
TestCase.php Make Testcase class compatible with phpunit-9.5 2021-03-29 09:43:08 +02:00
TestMoveableMountPoint.php
UpdaterTest.php
UrlGeneratorTest.php Remove some IRouter methods 2020-11-17 14:08:20 +01:00
UtilCheckServerTest.php
UtilTest.php