server
server copied to clipboard
handle cases where SharedStorage::init isn't initializing the storage
weird:
1) OCA\Provisioning_API\Tests\Controller\UsersControllerTest::testAddUserAlreadyExisting
Failed asserting that exception of type "Error" matches expected exception "OCP\AppFramework\OCS\OCSException". Message was: "Call to a member function t() on null" at
/drone/src/apps/provisioning_api/lib/Controller/UsersController.php:353
/drone/src/apps/provisioning_api/tests/Controller/UsersControllerTest.php:271
.
/rebase
1) OCA\Provisioning_API\Tests\Controller\UsersControllerTest::testAddUserAlreadyExisting Failed asserting that exception of type "Error" matches expected exception "OCP\AppFramework\OCS\OCSException". Message was: "Call to a member function t() on null" at /drone/src/apps/provisioning_api/lib/Controller/UsersController.php:353 /drone/src/apps/provisioning_api/tests/Controller/UsersControllerTest.php:271 .
Fixed on master in https://github.com/nextcloud/server/pull/33502/commits/4de19e9f851e2d1948d2af4dfcd70a5b22ae53cb
@icewind1991 is this still valid or did we fix this in a different way ? possibly through https://github.com/nextcloud/server/pull/35218