nextcloud/tests
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
..
acceptance Update Mink from 1.7.1 to 1.8.1 in acceptance tests 2021-03-30 08:35:16 +02:00
apps Validate the info.xml against the appstore schema file 2018-02-16 10:23:51 +01:00
Core Change my email address 2021-03-24 15:13:56 +01:00
data Cleanup unneeded code around database.xml 2021-03-24 22:15:44 +01:00
docker Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
lib Fix support tests 2021-04-20 17:36:15 +02:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
Test/Repair/Owncloud Fix language codes test result order 2021-03-24 10:26:06 +01:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
apps.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
bootstrap.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00
drone-run-integration-tests.sh Also run for .sh and .json (when not package or package-lock) 2020-10-30 10:30:50 +01:00
drone-run-php-tests.sh Also run for .sh and .json (when not package or package-lock) 2020-10-30 10:30:50 +01:00
drone-wait-objectstore.sh Kill objectstore CI if we can't create a file 2018-02-26 14:54:27 +01:00
enable_all.php Add tests 2018-01-25 13:44:47 +01:00
karma.config.js jsunit: Remove warnings during test runs 2020-12-29 08:42:34 +01:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml Bring back forgotten tests 2021-03-24 09:07:54 +01:00
preseed-config.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
redis-cluster.config.php Fix drone 2017-07-14 15:04:18 +02:00
redis.config.php Fix drone 2017-07-14 15:04:18 +02:00
startsessionlistener.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00