mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 08:29:10 -05:00
The update share tests only checked that the share returned by "update()" had the expected values. However, as "update()" returns the same share that was given as a parameter the tests were not really verifying that the values were updated in the database. In a similar way, the test that checked that a password was removed did not set a password first, so even if the database returned null it could be simply returning the default value for the share; a password must be set first to ensure that it is removed. Besides that, a typo was fixed too that made the checks on the original share instead of on the one returned by "update()"; right now it is the same share, so the change makes no difference, but it is how the check should be done anyway. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
|---|---|---|
| .. | ||
| acceptance | ||
| apps | ||
| Core | ||
| data | ||
| docker | ||
| lib | ||
| objectstore | ||
| Settings | ||
| travis | ||
| ui-regression | ||
| apps.php | ||
| bootstrap.php | ||
| drone-wait-objectstore.sh | ||
| enable_all.php | ||
| karma.config.js | ||
| phpunit-autotest-external.xml | ||
| phpunit-autotest.xml | ||
| preseed-config.php | ||
| redis-cluster.config.php | ||
| redis.config.php | ||
| startsessionlistener.php | ||