Rename PConfigTest to PConfigTestCase

This commit is contained in:
Art4 2024-12-15 16:13:53 +00:00
parent f3f52efe18
commit 75fee6784e
3 changed files with 7 additions and 6 deletions

View file

@ -5,17 +5,16 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
namespace Friendica\Test\src\Core\PConfig;
namespace Friendica\Test;
use DMS\PHPUnitExtensions\ArraySubset\ArraySubsetAsserts;
use Friendica\Core\PConfig\Type\AbstractPConfigValues;
use Friendica\Core\PConfig\Repository\PConfig as PConfigModel;
use Friendica\Core\PConfig\ValueObject\Cache;
use Friendica\Test\MockedTestCase;
use Mockery;
use Mockery\MockInterface;
abstract class PConfigTest extends MockedTestCase
abstract class PConfigTestCase extends MockedTestCase
{
use ArraySubsetAsserts;

View file

@ -8,8 +8,9 @@
namespace Friendica\Test\src\Core\PConfig;
use Friendica\Core\PConfig\Type\JitPConfig;
use Friendica\Test\PConfigTestCase;
class JitPConfigTest extends PConfigTest
class JitPConfigTest extends PConfigTestCase
{
public function getInstance()
{

View file

@ -8,12 +8,13 @@
namespace Friendica\Test\src\Core\PConfig;
use Friendica\Core\PConfig\Type\PreloadPConfig;
use Friendica\Test\PConfigTestCase;
class PreloadPConfigTest extends PConfigTest
class PreloadPConfigTest extends PConfigTestCase
{
public function getInstance()
{
return new \Friendica\Core\PConfig\Type\PreloadPConfig($this->configCache, $this->configModel);
return new PreloadPConfig($this->configCache, $this->configModel);
}
/**