From 7f6cf4f06bcd17277086eac0a866542fc121a4ae Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 28 Dec 2023 19:09:13 +0100 Subject: tests: Set db charset from test config. MySql and PostgreSQL does of course have different names for charsets, so we have to explicitly define them in the respective phpunit.xml files. This also allows testing with other charsets if there should be a need for that, though I think utf8 should cover everything and then some. --- tests/phpunit-ci-mysql.xml | 6 +++++- tests/phpunit.xml | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tests/phpunit-ci-mysql.xml b/tests/phpunit-ci-mysql.xml index 8a1cf20ec..f4d024c39 100644 --- a/tests/phpunit-ci-mysql.xml +++ b/tests/phpunit-ci-mysql.xml @@ -14,6 +14,7 @@ + @@ -23,7 +24,10 @@ ./unit/ - + ../Zotlabs/ ../include/ diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 24cd09749..6be3bc173 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -13,7 +13,8 @@ - + + @@ -23,7 +24,10 @@ ./unit/ - + ../Zotlabs/ ../include/ -- cgit v1.2.3