From 14ef33879bbaec4c62bd47b92d9eefaa6abc2448 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Sun, 19 Jan 2020 18:13:32 -0500 Subject: [PATCH] Re-arrange database tests by engine --- tests/cases/REST/NextcloudNews/TestV1_2.php | 1 + tests/phpunit.dist.xml | 28 ++++++++++----------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/tests/cases/REST/NextcloudNews/TestV1_2.php b/tests/cases/REST/NextcloudNews/TestV1_2.php index 090e90f..af3d9d5 100644 --- a/tests/cases/REST/NextcloudNews/TestV1_2.php +++ b/tests/cases/REST/NextcloudNews/TestV1_2.php @@ -462,6 +462,7 @@ class TestV1_2 extends \JKingWeb\Arsse\Test\AbstractTest { $this->assertMessage($exp, $act); \Phake::verify(Arsse::$db)->folderPropertiesSet(Arsse::$user->id, $id, $input); } + public function provideFolderRenamings() { return [ [['name' => "Software"], 1, true, new EmptyResponse(204)], diff --git a/tests/phpunit.dist.xml b/tests/phpunit.dist.xml index 9708442..6732b56 100644 --- a/tests/phpunit.dist.xml +++ b/tests/phpunit.dist.xml @@ -59,54 +59,52 @@ cases/Feed/TestFetching.php cases/Feed/TestFeed.php - + cases/Db/TestTransaction.php cases/Db/TestResultAggregate.php cases/Db/TestResultEmpty.php - + cases/Database/TestDatabase.php + + cases/Db/SQLite3/TestResult.php cases/Db/SQLite3/TestStatement.php cases/Db/SQLite3/TestCreation.php cases/Db/SQLite3/TestDriver.php cases/Db/SQLite3/TestUpdate.php - + cases/Db/SQLite3/TestDatabase.php cases/Db/SQLite3PDO/TestResult.php cases/Db/SQLite3PDO/TestStatement.php cases/Db/SQLite3PDO/TestCreation.php cases/Db/SQLite3PDO/TestDriver.php cases/Db/SQLite3PDO/TestUpdate.php - + cases/Db/SQLite3PDO/TestDatabase.php + + cases/Db/PostgreSQL/TestResult.php cases/Db/PostgreSQL/TestStatement.php cases/Db/PostgreSQL/TestCreation.php cases/Db/PostgreSQL/TestDriver.php cases/Db/PostgreSQL/TestUpdate.php - + cases/Db/PostgreSQL/TestDatabase.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/PostgreSQLPDO/TestDatabase.php + + cases/Db/MySQL/TestResult.php cases/Db/MySQL/TestStatement.php cases/Db/MySQL/TestCreation.php cases/Db/MySQL/TestDriver.php cases/Db/MySQL/TestUpdate.php - + cases/Db/MySQL/TestDatabase.php cases/Db/MySQLPDO/TestResult.php cases/Db/MySQLPDO/TestStatement.php cases/Db/MySQLPDO/TestCreation.php cases/Db/MySQLPDO/TestDriver.php cases/Db/MySQLPDO/TestUpdate.php - - - cases/Database/TestDatabase.php - cases/Db/SQLite3/TestDatabase.php - cases/Db/SQLite3PDO/TestDatabase.php - cases/Db/PostgreSQL/TestDatabase.php - cases/Db/PostgreSQLPDO/TestDatabase.php - cases/Db/MySQL/TestDatabase.php cases/Db/MySQLPDO/TestDatabase.php