diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fc418affa6323c8ece4c12ae23ed6b07c7977f8b..87bf9423d3af88014cb8b6d4c0e8d37a26966e4b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,7 +34,7 @@ PHPunit:PHP5.3:MySQL:
     - phpunit
   artifacts:
     reports:
-      junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
+      junit: /tmp/junit.xml
 
 PHPunit:PHP5.6:MySQL:
   image: containers.ethitter.com:443/docker/images/php:5.6
@@ -46,7 +46,7 @@ PHPunit:PHP5.6:MySQL:
     - phpunit
   artifacts:
     reports:
-      junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
+      junit: /tmp/junit.xml
 
 PHPunit:PHP7.0:MySQL:
   image: containers.ethitter.com:443/docker/images/php:7.0
@@ -58,7 +58,7 @@ PHPunit:PHP7.0:MySQL:
     - phpunit
   artifacts:
     reports:
-      junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
+      junit: /tmp/junit.xml
 
 PHPunit:PHP7.1:MySQL:
   image: containers.ethitter.com:443/docker/images/php:7.1
@@ -70,7 +70,7 @@ PHPunit:PHP7.1:MySQL:
     - phpunit
   artifacts:
     reports:
-      junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
+      junit: /tmp/junit.xml
 
 PHPunit:PHP7.2:MySQL:
   image: containers.ethitter.com:443/docker/images/php:7.2
@@ -82,4 +82,4 @@ PHPunit:PHP7.2:MySQL:
     - phpunit
   artifacts:
     reports:
-      junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
+      junit: /tmp/junit.xml
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index d9af975f27d9f109985974a14ec4176835ffdad5..a972240d08c0989eb46beff6280a66d081a8ecae 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -12,4 +12,7 @@
 			<directory prefix="test-" suffix=".php">./tests/</directory>
 		</testsuite>
 	</testsuites>
+	<logging>
+		<log type="junit" target="/tmp/junit.xml" />
+	</logging>
 </phpunit>