nextcloud/apps/files_external/tests/Storage/Amazons3Test.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1,016 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OCA\Files_External\Tests\Storage;
use OCA\Files_External\Lib\Storage\AmazonS3;
/**
* Class Amazons3Test
*
*
* @package OCA\Files_External\Tests\Storage
*/
#[\PHPUnit\Framework\Attributes\Group(name: 'DB')]
#[\PHPUnit\Framework\Attributes\Group('S3')]
class Amazons3Test extends \Test\Files\Storage\Storage {
use ConfigurableStorageTrait;
/** @var AmazonS3 */
protected $instance;
protected function setUp(): void {
parent::setUp();
$this->loadConfig(__DIR__ . '/../config.amazons3.php');
$this->instance = new AmazonS3($this->config);
}
protected function tearDown(): void {
if ($this->instance) {
2014-08-01 08:20:00 -04:00
$this->instance->rmdir('');
}
parent::tearDown();
}
public function testStat(): void {
$this->markTestSkipped('S3 doesn\'t update the parents folder mtime');
}
}