From bd41234a148f47a70307689fb5db363d69c558e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alda=20Vigd=C3=ADs=20Skarph=C3=A9=C3=B0insd=C3=B3ttir?= Date: Wed, 14 Feb 2024 03:34:59 +0100 Subject: [PATCH] Moving test error supressors into a neater directory location --- tests/{ => _}/SupressFramework.php | 0 tests/{ => _}/SupressFrameworkError.php | 0 tests/bootstrap.php | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/{ => _}/SupressFramework.php (100%) rename tests/{ => _}/SupressFrameworkError.php (100%) diff --git a/tests/SupressFramework.php b/tests/_/SupressFramework.php similarity index 100% rename from tests/SupressFramework.php rename to tests/_/SupressFramework.php diff --git a/tests/SupressFrameworkError.php b/tests/_/SupressFrameworkError.php similarity index 100% rename from tests/SupressFrameworkError.php rename to tests/_/SupressFrameworkError.php diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 9367a97..463a9ee 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -5,8 +5,8 @@ // As WordPress is still using and supporting PHPUnit 6, we need to create // certain empty classes expected for that version of PHPUnit in order to // supress errors when we run PHPUnit 9. -require './tests/SupressFrameworkError.php'; -require './tests/SupressFramework.php'; +require dirname( __FILE__ ) . '/_/SupressFrameworkError.php'; +require dirname( __FILE__ ) . '/_/SupressFramework.php'; // Include the WordPress test suite //