nextcloud/tests
Vincent Petry a78b13da82 Skip null groups in group manager (#26871) (#26956)
* Skip null groups in group manager (#26871)

* Skip null groups in group manager

* Also skip null groups in group manager's search function

* Add more group null checks in sharing code

* Add unit tests for null group safety in group manager

* Add unit tests for sharing code null group checks

* Added tests for null groups handling in sharing code

* Ignore moveShare optional repair in mount provider

In some cases, data is inconsistent in the oc_share table due to legacy
data. The mount provider might attempt to make it consistent but if the
target group does not exist any more it cannot work. In such case we
simply ignore the exception as it is not critical. Keeping the
exception would break user accounts as they would be unable to use
their filesystem.

* Adjust null group handing + tests

* Fix new group manager tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-20 16:29:14 +02:00
..
apps [App Code Check] add check for version and mandatory fields 2015-09-24 11:58:12 +02:00
Core fix unit tests 2017-02-16 10:29:45 -06:00
data Fix InfoParser empty tests 2016-11-16 09:25:45 +01:00
docker Adding docker based unit test execution for mysql utf8mb4 2016-10-19 00:15:01 +02:00
lib Skip null groups in group manager (#26871) (#26956) 2017-07-20 16:29:14 +02:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
Settings make sure that we only update the email address if it really changed 2016-12-02 18:07:08 +01:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
apps.php Fix the tests again 2016-05-25 16:51:02 +02:00
bootstrap.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
enable_all.php Fix tests 2016-10-31 17:17:45 +01:00
karma.config.js Apply DOMPurify over HTML 2017-01-17 11:37:16 +01:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml [9.2] Add missing unit tests (#25936) 2016-10-24 14:25:52 +02:00
preseed-config.php Do not add apps2/ directory if it does not exist 2015-03-19 09:07:29 +01:00
redis.config.php Add redis support to our CI jobs 2017-07-16 10:36:15 +02:00
startsessionlistener.php Make compatible with PHPUnit 5.1 2015-12-10 09:22:41 +01:00