Rename StorageTest with StorageTestCase

This commit is contained in:
Art4 2024-12-15 21:36:40 +00:00
parent 8401b5b0ee
commit f8bb565fa5
3 changed files with 6 additions and 4 deletions

View file

@ -5,14 +5,14 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
namespace Friendica\Test\src\Core\Storage;
namespace Friendica\Test;
use Friendica\Core\Storage\Capability\ICanReadFromStorage;
use Friendica\Core\Storage\Capability\ICanWriteToStorage;
use Friendica\Core\Storage\Exception\ReferenceStorageException;
use Friendica\Test\MockedTestCase;
abstract class StorageTest extends MockedTestCase
abstract class StorageTestCase extends MockedTestCase
{
/** @return ICanWriteToStorage */
abstract protected function getInstance();

View file

@ -8,9 +8,10 @@
namespace Friendica\Test\src\Core\Storage;
use Friendica\Core\Storage\Type\Database;
use Friendica\Test\StorageTestCase;
use Friendica\Test\Util\CreateDatabaseTrait;
class DatabaseStorageTest extends StorageTest
class DatabaseStorageTest extends StorageTestCase
{
use CreateDatabaseTrait;

View file

@ -10,10 +10,11 @@ namespace Friendica\Test\src\Core\Storage;
use Friendica\Core\Storage\Exception\StorageException;
use Friendica\Core\Storage\Type\Filesystem;
use Friendica\Core\Storage\Type\FilesystemConfig;
use Friendica\Test\StorageTestCase;
use Friendica\Test\Util\VFSTrait;
use org\bovigo\vfs\vfsStream;
class FilesystemStorageTest extends StorageTest
class FilesystemStorageTest extends StorageTestCase
{
use VFSTrait;