mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Rename PConfigTest to PConfigTestCase
This commit is contained in:
parent
f3f52efe18
commit
75fee6784e
3 changed files with 7 additions and 6 deletions
|
@ -5,17 +5,16 @@
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
namespace Friendica\Test\src\Core\PConfig;
|
namespace Friendica\Test;
|
||||||
|
|
||||||
use DMS\PHPUnitExtensions\ArraySubset\ArraySubsetAsserts;
|
use DMS\PHPUnitExtensions\ArraySubset\ArraySubsetAsserts;
|
||||||
use Friendica\Core\PConfig\Type\AbstractPConfigValues;
|
use Friendica\Core\PConfig\Type\AbstractPConfigValues;
|
||||||
use Friendica\Core\PConfig\Repository\PConfig as PConfigModel;
|
use Friendica\Core\PConfig\Repository\PConfig as PConfigModel;
|
||||||
use Friendica\Core\PConfig\ValueObject\Cache;
|
use Friendica\Core\PConfig\ValueObject\Cache;
|
||||||
use Friendica\Test\MockedTestCase;
|
|
||||||
use Mockery;
|
use Mockery;
|
||||||
use Mockery\MockInterface;
|
use Mockery\MockInterface;
|
||||||
|
|
||||||
abstract class PConfigTest extends MockedTestCase
|
abstract class PConfigTestCase extends MockedTestCase
|
||||||
{
|
{
|
||||||
use ArraySubsetAsserts;
|
use ArraySubsetAsserts;
|
||||||
|
|
|
@ -8,8 +8,9 @@
|
||||||
namespace Friendica\Test\src\Core\PConfig;
|
namespace Friendica\Test\src\Core\PConfig;
|
||||||
|
|
||||||
use Friendica\Core\PConfig\Type\JitPConfig;
|
use Friendica\Core\PConfig\Type\JitPConfig;
|
||||||
|
use Friendica\Test\PConfigTestCase;
|
||||||
|
|
||||||
class JitPConfigTest extends PConfigTest
|
class JitPConfigTest extends PConfigTestCase
|
||||||
{
|
{
|
||||||
public function getInstance()
|
public function getInstance()
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,12 +8,13 @@
|
||||||
namespace Friendica\Test\src\Core\PConfig;
|
namespace Friendica\Test\src\Core\PConfig;
|
||||||
|
|
||||||
use Friendica\Core\PConfig\Type\PreloadPConfig;
|
use Friendica\Core\PConfig\Type\PreloadPConfig;
|
||||||
|
use Friendica\Test\PConfigTestCase;
|
||||||
|
|
||||||
class PreloadPConfigTest extends PConfigTest
|
class PreloadPConfigTest extends PConfigTestCase
|
||||||
{
|
{
|
||||||
public function getInstance()
|
public function getInstance()
|
||||||
{
|
{
|
||||||
return new \Friendica\Core\PConfig\Type\PreloadPConfig($this->configCache, $this->configModel);
|
return new PreloadPConfig($this->configCache, $this->configModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue