0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-20 23:38:25 +00:00
nextcloud_server/tests/lib/Files/ObjectStore/AzureTest.php
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:32:31 +02:00

27 lines
705 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Test\Files\ObjectStore;
use OC\Files\ObjectStore\Azure;
/**
* @group PRIMARY-azure
*/
class AzureTest extends ObjectStoreTest {
protected function getInstance() {
$config = \OC::$server->getConfig()->getSystemValue('objectstore');
if (!is_array($config) || $config['class'] !== 'OC\\Files\\ObjectStore\\Azure') {
$this->markTestSkipped('objectstore not configured for azure');
}
return new Azure($config['arguments']);
}
public function testFseekSize(): void {
$this->markTestSkipped('azure does not support seeking at the moment');
}
}