From b52dadf345a392711584a276b55ac6653db24197 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Wed, 12 Dec 2018 12:42:40 -0500 Subject: [PATCH] Make existing PostgreSQL tests explicitly PDO tests --- .../Db/{PostgreSQL => PostgreSQLPDO}/TestCreation.php | 2 +- .../Db/{PostgreSQL => PostgreSQLPDO}/TestDatabase.php | 2 +- .../cases/Db/{PostgreSQL => PostgreSQLPDO}/TestDriver.php | 2 +- .../cases/Db/{PostgreSQL => PostgreSQLPDO}/TestResult.php | 2 +- .../Db/{PostgreSQL => PostgreSQLPDO}/TestStatement.php | 2 +- .../cases/Db/{PostgreSQL => PostgreSQLPDO}/TestUpdate.php | 2 +- tests/phpunit.xml | 7 +++++++ 7 files changed, 13 insertions(+), 6 deletions(-) rename tests/cases/Db/{PostgreSQL => PostgreSQLPDO}/TestCreation.php (98%) rename tests/cases/Db/{PostgreSQL => PostgreSQLPDO}/TestDatabase.php (96%) rename tests/cases/Db/{PostgreSQL => PostgreSQLPDO}/TestDriver.php (94%) rename tests/cases/Db/{PostgreSQL => PostgreSQLPDO}/TestResult.php (93%) rename tests/cases/Db/{PostgreSQL => PostgreSQLPDO}/TestStatement.php (95%) rename tests/cases/Db/{PostgreSQL => PostgreSQLPDO}/TestUpdate.php (92%) diff --git a/tests/cases/Db/PostgreSQL/TestCreation.php b/tests/cases/Db/PostgreSQLPDO/TestCreation.php similarity index 98% rename from tests/cases/Db/PostgreSQL/TestCreation.php rename to tests/cases/Db/PostgreSQLPDO/TestCreation.php index e22854ad..3561ff46 100644 --- a/tests/cases/Db/PostgreSQL/TestCreation.php +++ b/tests/cases/Db/PostgreSQLPDO/TestCreation.php @@ -4,7 +4,7 @@ * See LICENSE and AUTHORS files for details */ declare(strict_types=1); -namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL; +namespace JKingWeb\Arsse\TestCase\Db\PostgreSQLPDO; use JKingWeb\Arsse\Arsse; use JKingWeb\Arsse\Db\PostgreSQL\PDODriver as Driver; diff --git a/tests/cases/Db/PostgreSQL/TestDatabase.php b/tests/cases/Db/PostgreSQLPDO/TestDatabase.php similarity index 96% rename from tests/cases/Db/PostgreSQL/TestDatabase.php rename to tests/cases/Db/PostgreSQLPDO/TestDatabase.php index 7ea7fc89..42d5f9f7 100644 --- a/tests/cases/Db/PostgreSQL/TestDatabase.php +++ b/tests/cases/Db/PostgreSQLPDO/TestDatabase.php @@ -4,7 +4,7 @@ * See LICENSE and AUTHORS files for details */ declare(strict_types=1); -namespace JKingWeb\Arsse\TestCase\Db\PosgreSQL; +namespace JKingWeb\Arsse\TestCase\Db\PostgreSQLPDO; /** * @group slow diff --git a/tests/cases/Db/PostgreSQL/TestDriver.php b/tests/cases/Db/PostgreSQLPDO/TestDriver.php similarity index 94% rename from tests/cases/Db/PostgreSQL/TestDriver.php rename to tests/cases/Db/PostgreSQLPDO/TestDriver.php index dadf9cbd..fa043bc5 100644 --- a/tests/cases/Db/PostgreSQL/TestDriver.php +++ b/tests/cases/Db/PostgreSQLPDO/TestDriver.php @@ -4,7 +4,7 @@ * See LICENSE and AUTHORS files for details */ declare(strict_types=1); -namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL; +namespace JKingWeb\Arsse\TestCase\Db\PostgreSQLPDO; /** * @group slow diff --git a/tests/cases/Db/PostgreSQL/TestResult.php b/tests/cases/Db/PostgreSQLPDO/TestResult.php similarity index 93% rename from tests/cases/Db/PostgreSQL/TestResult.php rename to tests/cases/Db/PostgreSQLPDO/TestResult.php index 0d85bdd6..86b4714d 100644 --- a/tests/cases/Db/PostgreSQL/TestResult.php +++ b/tests/cases/Db/PostgreSQLPDO/TestResult.php @@ -4,7 +4,7 @@ * See LICENSE and AUTHORS files for details */ declare(strict_types=1); -namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL; +namespace JKingWeb\Arsse\TestCase\Db\PostgreSQLPDO; use JKingWeb\Arsse\Test\DatabaseInformation; diff --git a/tests/cases/Db/PostgreSQL/TestStatement.php b/tests/cases/Db/PostgreSQLPDO/TestStatement.php similarity index 95% rename from tests/cases/Db/PostgreSQL/TestStatement.php rename to tests/cases/Db/PostgreSQLPDO/TestStatement.php index ba56a58b..900c2e8b 100644 --- a/tests/cases/Db/PostgreSQL/TestStatement.php +++ b/tests/cases/Db/PostgreSQLPDO/TestStatement.php @@ -4,7 +4,7 @@ * See LICENSE and AUTHORS files for details */ declare(strict_types=1); -namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL; +namespace JKingWeb\Arsse\TestCase\Db\PostgreSQLPDO; /** * @group slow diff --git a/tests/cases/Db/PostgreSQL/TestUpdate.php b/tests/cases/Db/PostgreSQLPDO/TestUpdate.php similarity index 92% rename from tests/cases/Db/PostgreSQL/TestUpdate.php rename to tests/cases/Db/PostgreSQLPDO/TestUpdate.php index 21bf1209..92de5695 100644 --- a/tests/cases/Db/PostgreSQL/TestUpdate.php +++ b/tests/cases/Db/PostgreSQLPDO/TestUpdate.php @@ -4,7 +4,7 @@ * See LICENSE and AUTHORS files for details */ declare(strict_types=1); -namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL; +namespace JKingWeb\Arsse\TestCase\Db\PostgreSQLPDO; /** * @group slow diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 2733f334..ceca94ac 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -62,11 +62,18 @@ cases/Db/PostgreSQL/TestCreation.php cases/Db/PostgreSQL/TestDriver.php cases/Db/PostgreSQL/TestUpdate.php + + cases/Db/PostgreSQLPDO/TestResult.php + cases/Db/PostgreSQLPDO/TestStatement.php + cases/Db/PostgreSQLPDO/TestCreation.php + cases/Db/PostgreSQLPDO/TestDriver.php + cases/Db/PostgreSQLPDO/TestUpdate.php cases/Db/SQLite3/TestDatabase.php cases/Db/SQLite3PDO/TestDatabase.php cases/Db/PostgreSQL/TestDatabase.php + cases/Db/PostgreSQLPDO/TestDatabase.php cases/REST/TestTarget.php