Skip to content

Commit

Permalink
StateBadgesTest: Account for change in visibility for createLink me…
Browse files Browse the repository at this point in the history
…thod
  • Loading branch information
raviks789 committed Oct 29, 2024
1 parent 4ef7e33 commit 92d626c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/php/library/Icingadb/Common/StateBadgesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use ipl\Stdlib\Filter;
use ipl\Web\Filter\QueryString;
use ipl\Web\Url;
use ipl\Web\Widget\Link;
use PHPUnit\Framework\TestCase;

class StateBadgesTest extends TestCase
Expand Down Expand Up @@ -81,6 +82,11 @@ protected function getStateInt(string $state): int
{
return 0;
}

public function createLink($content, array $filter = null): Link
{
return parent::createLink($content, $filter);
}
};
}
}

0 comments on commit 92d626c

Please sign in to comment.