diff --git a/tests/Feature/FormTest.php b/tests/Feature/FormTest.php index 442b318..a4d1819 100644 --- a/tests/Feature/FormTest.php +++ b/tests/Feature/FormTest.php @@ -194,7 +194,7 @@ $responses = form() ->text('What is your name?') ->select('What is your language?', ['PHP', 'JS']) - ->addIf(fn ($responses) => $responses[1] === 'PHP', fn ($responses) => text("Which version?")) + ->addIf(fn ($responses) => $responses[1] === 'PHP', fn ($responses) => text('Which version?')) ->confirm('Are you sure?') ->submit(); @@ -216,7 +216,7 @@ $responses = form() ->text('What is your name?') ->select('What is your language?', ['PHP', 'JS']) - ->addIf(fn ($responses) => $responses[1] === 'PHP', fn ($responses) => text("Which version?")) + ->addIf(fn ($responses) => $responses[1] === 'PHP', fn ($responses) => text('Which version?')) ->confirm('Are you sure?') ->submit();