diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-07-05 08:54:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-05 08:54:51 +0200 |
commit | d2d99a91a0bb47ab4f2116692f363b90a736711b (patch) | |
tree | a68250d1e2a7b2f25d2062504a741b8dbf0b1540 /apps/files_sharing | |
parent | 34eec5726297d1720f5390a567609b07e2cbdd9f (diff) | |
download | nextcloud-server-d2d99a91a0bb47ab4f2116692f363b90a736711b.tar.gz nextcloud-server-d2d99a91a0bb47ab4f2116692f363b90a736711b.zip |
fix swift primary object store test (#25281)
* Wait for socket to be open
* Fix call on null
* Allow DB access for MountProviderTest
Makes unit tests pass when using object store, since their FS access is
actually oc_filecache DB access. It is currently not possible to mock
or bypass the logic from "SharedMount::verifyMountPoint()" triggered by
this test.
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/tests/MountProviderTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/MountProviderTest.php b/apps/files_sharing/tests/MountProviderTest.php index f69098cde7b..90d9f0a8567 100644 --- a/apps/files_sharing/tests/MountProviderTest.php +++ b/apps/files_sharing/tests/MountProviderTest.php @@ -30,6 +30,9 @@ use OCP\Share\IShare; use OCP\Share\IManager; use OCP\Files\Mount\IMountPoint; +/** + * @group DB + */ class MountProviderTest extends \Test\TestCase { /** @var MountProvider */ |