From 135855c0ebb8a995b8048c3d1662ffcc2bbb4f5d Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 22 Jan 2025 11:56:29 +0100 Subject: [PATCH] test --- tests/CompatControllerTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/CompatControllerTest.php b/tests/CompatControllerTest.php index 0bd01ab9..49b0eec2 100644 --- a/tests/CompatControllerTest.php +++ b/tests/CompatControllerTest.php @@ -21,6 +21,10 @@ class CompatControllerTest extends TestCase public function setUp(): void { + if (! class_exists('\Icinga\Web\Controller')) { + $this->markTestSkipped('Icinga Web is required to run this test'); + } + class_alias('ipl\Tests\Web\SortControl', 'ipl\Web\Control\SortControl'); $this->controller = new class extends CompatController {