mirror of
https://github.com/friendica/friendica
synced 2024-12-22 14:00:15 +00:00
rename DatabaseTest to DatabaseTestCase
This commit is contained in:
parent
42b543cd24
commit
5430d65799
9 changed files with 14 additions and 14 deletions
|
@ -10,7 +10,7 @@ namespace Friendica\Test;
|
||||||
/**
|
/**
|
||||||
* Abstract class used by tests that need a database.
|
* Abstract class used by tests that need a database.
|
||||||
*/
|
*/
|
||||||
abstract class DatabaseTest extends MockedTestCase
|
abstract class DatabaseTestCase extends MockedTestCase
|
||||||
{
|
{
|
||||||
use DatabaseTestTrait;
|
use DatabaseTestTrait;
|
||||||
|
|
|
@ -13,7 +13,7 @@ use Friendica\Core\Config\ValueObject\Cache;
|
||||||
use Friendica\Database\Database;
|
use Friendica\Database\Database;
|
||||||
use Friendica\Database\Definition\DbaDefinition;
|
use Friendica\Database\Definition\DbaDefinition;
|
||||||
use Friendica\Database\Definition\ViewDefinition;
|
use Friendica\Database\Definition\ViewDefinition;
|
||||||
use Friendica\Test\DatabaseTestTrait;
|
use Friendica\Test\DatabaseTestCaseTrait;
|
||||||
use Friendica\Test\Util\Database\StaticDatabase;
|
use Friendica\Test\Util\Database\StaticDatabase;
|
||||||
use Friendica\Util\Profiler;
|
use Friendica\Util\Profiler;
|
||||||
use Psr\Log\NullLogger;
|
use Psr\Log\NullLogger;
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
|
|
||||||
namespace Friendica\Test\src\Content;
|
namespace Friendica\Test\src\Content;
|
||||||
|
|
||||||
use Friendica\Test\DatabaseTest;
|
use Friendica\Test\DatabaseTestCase;
|
||||||
|
|
||||||
class PageInfoTest extends DatabaseTest
|
class PageInfoTest extends DatabaseTestCase
|
||||||
{
|
{
|
||||||
public function dataGetRelevantUrlFromBody()
|
public function dataGetRelevantUrlFromBody()
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace Friendica\Test\src\Core\Cache;
|
||||||
|
|
||||||
use Friendica\App\BaseURL;
|
use Friendica\App\BaseURL;
|
||||||
use Friendica\Core\Cache;
|
use Friendica\Core\Cache;
|
||||||
use Friendica\Test\DatabaseTestTrait;
|
use Friendica\Test\DatabaseTestCaseTrait;
|
||||||
use Friendica\Test\Util\CreateDatabaseTrait;
|
use Friendica\Test\Util\CreateDatabaseTrait;
|
||||||
use Friendica\Test\Util\VFSTrait;
|
use Friendica\Test\Util\VFSTrait;
|
||||||
|
|
||||||
|
|
|
@ -13,12 +13,12 @@ use Friendica\Core\Config\Model\DatabaseConfig;
|
||||||
use Friendica\Core\Config\Model\ReadOnlyFileConfig;
|
use Friendica\Core\Config\Model\ReadOnlyFileConfig;
|
||||||
use Friendica\Core\Config\Util\ConfigFileManager;
|
use Friendica\Core\Config\Util\ConfigFileManager;
|
||||||
use Friendica\Core\Config\ValueObject\Cache;
|
use Friendica\Core\Config\ValueObject\Cache;
|
||||||
use Friendica\Test\DatabaseTest;
|
use Friendica\Test\DatabaseTestCase;
|
||||||
use Friendica\Test\Util\CreateDatabaseTrait;
|
use Friendica\Test\Util\CreateDatabaseTrait;
|
||||||
use Friendica\Test\Util\VFSTrait;
|
use Friendica\Test\Util\VFSTrait;
|
||||||
use org\bovigo\vfs\vfsStream;
|
use org\bovigo\vfs\vfsStream;
|
||||||
|
|
||||||
class ConfigTest extends DatabaseTest
|
class ConfigTest extends DatabaseTestCase
|
||||||
{
|
{
|
||||||
use ArraySubsetAsserts;
|
use ArraySubsetAsserts;
|
||||||
use VFSTrait;
|
use VFSTrait;
|
||||||
|
|
|
@ -14,7 +14,7 @@ use Friendica\Core\Config\Model\ConfigTransaction;
|
||||||
use Friendica\Core\Config\Util\ConfigFileManager;
|
use Friendica\Core\Config\Util\ConfigFileManager;
|
||||||
use Friendica\Core\Config\ValueObject\Cache;
|
use Friendica\Core\Config\ValueObject\Cache;
|
||||||
use Friendica\Database\Database;
|
use Friendica\Database\Database;
|
||||||
use Friendica\Test\DatabaseTest;
|
use Friendica\Test\DatabaseTestCase;
|
||||||
use Friendica\Test\FixtureTestCase;
|
use Friendica\Test\FixtureTestCase;
|
||||||
use Friendica\Test\MockedTest;
|
use Friendica\Test\MockedTest;
|
||||||
use Friendica\Test\Util\Database\StaticDatabase;
|
use Friendica\Test\Util\Database\StaticDatabase;
|
||||||
|
|
|
@ -26,7 +26,7 @@ use Friendica\Database\Definition\ViewDefinition;
|
||||||
use Friendica\DI;
|
use Friendica\DI;
|
||||||
use Friendica\Core\Config\Factory\Config;
|
use Friendica\Core\Config\Factory\Config;
|
||||||
use Friendica\Core\Storage\Type;
|
use Friendica\Core\Storage\Type;
|
||||||
use Friendica\Test\DatabaseTest;
|
use Friendica\Test\DatabaseTestCase;
|
||||||
use Friendica\Test\Util\CreateDatabaseTrait;
|
use Friendica\Test\Util\CreateDatabaseTrait;
|
||||||
use Friendica\Test\Util\Database\StaticDatabase;
|
use Friendica\Test\Util\Database\StaticDatabase;
|
||||||
use Friendica\Test\Util\VFSTrait;
|
use Friendica\Test\Util\VFSTrait;
|
||||||
|
@ -36,7 +36,7 @@ use Psr\Log\LoggerInterface;
|
||||||
use Psr\Log\NullLogger;
|
use Psr\Log\NullLogger;
|
||||||
use Friendica\Test\Util\SampleStorageBackend;
|
use Friendica\Test\Util\SampleStorageBackend;
|
||||||
|
|
||||||
class StorageManagerTest extends DatabaseTest
|
class StorageManagerTest extends DatabaseTestCase
|
||||||
{
|
{
|
||||||
use CreateDatabaseTrait;
|
use CreateDatabaseTrait;
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,10 @@ use Dice\Dice;
|
||||||
use Friendica\Database\Database;
|
use Friendica\Database\Database;
|
||||||
use Friendica\Database\DBA;
|
use Friendica\Database\DBA;
|
||||||
use Friendica\DI;
|
use Friendica\DI;
|
||||||
use Friendica\Test\DatabaseTest;
|
use Friendica\Test\DatabaseTestCase;
|
||||||
use Friendica\Test\Util\Database\StaticDatabase;
|
use Friendica\Test\Util\Database\StaticDatabase;
|
||||||
|
|
||||||
class DBATest extends DatabaseTest
|
class DBATest extends DatabaseTestCase
|
||||||
{
|
{
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,10 +11,10 @@ use Dice\Dice;
|
||||||
use Friendica\Database\Database;
|
use Friendica\Database\Database;
|
||||||
use Friendica\Database\DBStructure;
|
use Friendica\Database\DBStructure;
|
||||||
use Friendica\DI;
|
use Friendica\DI;
|
||||||
use Friendica\Test\DatabaseTest;
|
use Friendica\Test\DatabaseTestCase;
|
||||||
use Friendica\Test\Util\Database\StaticDatabase;
|
use Friendica\Test\Util\Database\StaticDatabase;
|
||||||
|
|
||||||
class DBStructureTest extends DatabaseTest
|
class DBStructureTest extends DatabaseTestCase
|
||||||
{
|
{
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue