Skip to content

Commit

Permalink
OEL-1989: Test that outline and background are mutually exclusive.
Browse files Browse the repository at this point in the history
  • Loading branch information
drishu authored and brummbar committed Sep 23, 2022
1 parent 103a810 commit 64318f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/PatternAssertion/BadgePatternAssert.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ protected function assertSettings(array $expected, Crawler $crawler): void {

if (!empty($expected['outline'])) {
$this->assertElementExists('.badge-outline-' . $background, $crawler);
$this->assertElementNotExists('.bg-' . $background, $crawler);
}
else {
$this->assertElementNotExists('.badge-outline-' . $background, $crawler);
$this->assertElementExists('.bg-' . $background, $crawler);
}

Expand Down

0 comments on commit 64318f3

Please sign in to comment.