1
0

AzureTest.php 699 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace Test\Files\ObjectStore;
  7. use OC\Files\ObjectStore\Azure;
  8. /**
  9. * @group PRIMARY-azure
  10. */
  11. class AzureTest extends ObjectStoreTest {
  12. protected function getInstance() {
  13. $config = \OC::$server->getConfig()->getSystemValue('objectstore');
  14. if (!is_array($config) || $config['class'] !== 'OC\\Files\\ObjectStore\\Azure') {
  15. $this->markTestSkipped('objectstore not configured for azure');
  16. }
  17. return new Azure($config['arguments']);
  18. }
  19. public function testFseekSize() {
  20. $this->markTestSkipped('azure does not support seeking at the moment');
  21. }
  22. }