From 8401b5b0ee065b54be3203d55e17677aff2ac3eb Mon Sep 17 00:00:00 2001 From: Art4 Date: Sun, 15 Dec 2024 21:32:23 +0000 Subject: [PATCH] rename StorageConfigTest to StorageConfigTestCase --- .../StorageConfigTest.php => StorageConfigTestCase.php} | 4 ++-- tests/src/Core/Storage/FilesystemStorageConfigTest.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) rename tests/{src/Core/Storage/StorageConfigTest.php => StorageConfigTestCase.php} (85%) diff --git a/tests/src/Core/Storage/StorageConfigTest.php b/tests/StorageConfigTestCase.php similarity index 85% rename from tests/src/Core/Storage/StorageConfigTest.php rename to tests/StorageConfigTestCase.php index 78a5e396f6..4b06a8ec59 100644 --- a/tests/src/Core/Storage/StorageConfigTest.php +++ b/tests/StorageConfigTestCase.php @@ -5,12 +5,12 @@ // // SPDX-License-Identifier: AGPL-3.0-or-later -namespace Friendica\Test\src\Core\Storage; +namespace Friendica\Test; use Friendica\Core\Storage\Capability\ICanConfigureStorage; use Friendica\Test\MockedTestCase; -abstract class StorageConfigTest extends MockedTestCase +abstract class StorageConfigTestCase extends MockedTestCase { /** @return ICanConfigureStorage */ abstract protected function getInstance(); diff --git a/tests/src/Core/Storage/FilesystemStorageConfigTest.php b/tests/src/Core/Storage/FilesystemStorageConfigTest.php index 8cbf3e97c8..390266f565 100644 --- a/tests/src/Core/Storage/FilesystemStorageConfigTest.php +++ b/tests/src/Core/Storage/FilesystemStorageConfigTest.php @@ -11,11 +11,12 @@ use Friendica\Core\Config\Capability\IManageConfigValues; use Friendica\Core\L10n; use Friendica\Core\Storage\Capability\ICanConfigureStorage; use Friendica\Core\Storage\Type\FilesystemConfig; +use Friendica\Test\StorageConfigTestCase; use Friendica\Test\Util\VFSTrait; use Mockery\MockInterface; use org\bovigo\vfs\vfsStream; -class FilesystemStorageConfigTest extends StorageConfigTest +class FilesystemStorageConfigTest extends StorageConfigTestCase { use VFSTrait;