mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
rename StorageConfigTest to StorageConfigTestCase
This commit is contained in:
parent
b09fb1047f
commit
8401b5b0ee
2 changed files with 4 additions and 3 deletions
29
tests/StorageConfigTestCase.php
Normal file
29
tests/StorageConfigTestCase.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
// Copyright (C) 2010-2024, the Friendica project
|
||||
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
||||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
namespace Friendica\Test;
|
||||
|
||||
use Friendica\Core\Storage\Capability\ICanConfigureStorage;
|
||||
use Friendica\Test\MockedTestCase;
|
||||
|
||||
abstract class StorageConfigTestCase extends MockedTestCase
|
||||
{
|
||||
/** @return ICanConfigureStorage */
|
||||
abstract protected function getInstance();
|
||||
|
||||
abstract protected function assertOption(ICanConfigureStorage $storage);
|
||||
|
||||
/**
|
||||
* Test if the "getOption" is asserted
|
||||
*/
|
||||
public function testGetOptions()
|
||||
{
|
||||
$instance = $this->getInstance();
|
||||
|
||||
$this->assertOption($instance);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue