Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jan 14, 2025
1 parent e009777 commit 5ded8a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/helpers/CpHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ public function testFieldHtml(): void
});
// fieldset + legend
$fieldset = Cp::fieldHtml('<input>', ['fieldset' => 'true', 'label' => 'Label']);
self::assertStringContainsString('<fieldset', $fieldset);
self::assertStringContainsString('<legend', $fieldset);
self::assertStringContainsString('aria-labelledby="', $fieldset);
self::assertStringContainsString('role="group"', $fieldset);
// translatable
self::assertStringContainsString('class="t9n-indicator"', Cp::fieldHtml('<input>', ['label' => 'Label', 'translatable' => true]));
// instructions
Expand Down

0 comments on commit 5ded8a7

Please sign in to comment.