nextcloud/tests
Vincent Petry 377fdf3860
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-03-17 00:07:03 -06:00
..
Core Clean up single user mode 2017-02-22 23:02:31 -06:00
Settings Fix unit tests of master 2017-03-16 12:46:02 +01:00
apps [App Code Check] add check for version and mandatory fields 2015-09-24 11:58:12 +02:00
data always allow remembered login 2017-01-11 19:20:11 +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-03-17 00:07:03 -06:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +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-13 18:58:18 +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 add ci support for s3 object store 2017-01-02 14:17:19 +01:00
startsessionlistener.php Make compatible with PHPUnit 5.1 2015-12-10 09:22:41 +01:00