From e29fc4b2be19726eb9777266f878e4a85eaefb9b Mon Sep 17 00:00:00 2001
From: Bart Jaskulski <bjaskulski@protonmail.com>
Date: Tue, 19 Nov 2024 10:22:00 +0100
Subject: [PATCH] chore: remove non-existing tests

Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com>
---
 phpunit-unit.xml         | 21 ---------------------
 tests/unit/bootstrap.php | 23 -----------------------
 2 files changed, 44 deletions(-)
 delete mode 100644 phpunit-unit.xml
 delete mode 100644 tests/unit/bootstrap.php

diff --git a/phpunit-unit.xml b/phpunit-unit.xml
deleted file mode 100644
index 627771b..0000000
--- a/phpunit-unit.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<phpunit bootstrap="tests/unit/bootstrap.php">
-    <testsuites>
-        <testsuite>
-            <directory prefix="test-" suffix=".php">./tests/unit/</directory>
-        </testsuite>
-    </testsuites>
-
-    <filter>
-        <whitelist>
-            <directory suffix=".php">classes</directory>
-        </whitelist>
-    </filter>
-
-    <logging>
-        <log type="junit" target="build-coverage/report.junit.xml"/>
-        <log type="coverage-html" target="build-coverage/coverage" charset="UTF-8" yui="true" highlight="true"/>
-        <log type="coverage-text" target="build-coverage/coverage.txt"/>
-        <log type="coverage-clover" target="build-coverage/clover.xml"/>
-    </logging>
-
-</phpunit>
\ No newline at end of file
diff --git a/tests/unit/bootstrap.php b/tests/unit/bootstrap.php
deleted file mode 100644
index e55059f..0000000
--- a/tests/unit/bootstrap.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * PHPUnit bootstrap file
- */
-
-require_once __DIR__ . '/../../vendor/autoload.php';
-
-error_reporting( E_ALL );
-
-if ( getenv( 'PLUGIN_PATH' ) !== false ) {
-	define( 'PLUGIN_PATH', getenv( 'PLUGIN_PATH' ) );
-} else {
-	define( 'PLUGIN_PATH', __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR );
-}
-
-if ( getenv( 'ABSPATH' ) !== false ) {
-	define( 'ABSPATH', getenv( 'ABSPATH' ) );
-} else {
-	define( 'ABSPATH', PLUGIN_PATH . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR );
-}
-
-WP_Mock::setUsePatchwork( true );
-WP_Mock::bootstrap();
-- 
GitLab