aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/phpunit-ci-mysql.xml6
-rw-r--r--tests/phpunit.xml8
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 @@
<env name="HZ_TEST_DB_USER" value="root"/>
<env name="HZ_TEST_DB_PASS" value="mysql"/>
<env name="HZ_TEST_DB_DATABASE" value="hello_world_test"/>
+ <env name="HZ_TEST_DB_CHARSET" value="utf8mb4"/>
</php>
<testsuites>
<testsuite name="Hubzilla default Test Suite">
@@ -23,7 +24,10 @@
<directory suffix="Test.php" prefix="API">./unit/</directory>
</testsuite>
</testsuites>
- <coverage processUncoveredFiles="true">
+ <coverage
+ processUncoveredFiles="true"
+ cacheDirectory=".cache/phpunit"
+ >
<include>
<directory suffix=".php">../Zotlabs/</directory>
<directory suffix=".php">../include/</directory>
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 @@
<env name="HZ_TEST_DB_PORT" value=""/>
<env name="HZ_TEST_DB_USER" value="test_user"/>
<env name="HZ_TEST_DB_PASS" value="hubzilla"/>
- <env name="HZ_TEST_DB_DATAbase" value="hubzilla_test_db"/>
+ <env name="HZ_TEST_DB_DATABASE" value="hubzilla_test_db"/>
+ <env name="HZ_TEST_DB_CHARSET" value="UTF8"/>
</php>
<testsuites>
<testsuite name="Hubzilla default Test Suite">
@@ -23,7 +24,10 @@
<directory suffix="Test.php" prefix="API">./unit/</directory>
</testsuite>
</testsuites>
- <coverage processUncoveredFiles="true">
+ <coverage
+ processUncoveredFiles="true"
+ cacheDirectory=".cache/phpunit"
+ >
<include>
<directory suffix=".php">../Zotlabs/</directory>
<directory suffix=".php">../include/</directory>