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 f20deae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/CompatControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Zend_Controller_Request_Abstract;

/**
* @runTestsInSeparateProcesses
* @aarunTestsInSeparateProcesses
*/
class CompatControllerTest extends TestCase
{
Expand All @@ -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 f20deae

Please sign in to comment.