Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Jan 22, 2025
1 parent 71644a1 commit 135855c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/CompatControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 135855c

Please sign in to comment.