Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 2eba7ec

Browse files
committed
Fix tests
1 parent cc3044f commit 2eba7ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/tests/Browser/FormTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function it_renders_classes_on_the_form_element()
184184
$this->browse(function (Browser $browser) {
185185
$browser->visit('/form/simple')
186186
->waitForText('FormSimple')
187-
->assertAttribute('form', 'class', 'form-simple');
187+
->assertAttribute('fieldset', 'class', 'form-simple');
188188
});
189189
}
190190
}

app/tests/Feature/SsrTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function it_has_a_server_that_handles_ssr_requests()
2424
$this->assertArrayHasKey('body', $data);
2525

2626
// evaluated form
27-
$this->assertStringContainsString('<form><input dusk="name" value="Splade"></form>', $data['body'] ?? '');
27+
$this->assertStringContainsString('<form><fieldset><input dusk="name" value="Splade"></fieldset></form>', $data['body'] ?? '');
2828

2929
// rendered components
3030
$this->assertStringContainsString('grid grid-cols-3 grid-flow-row-3', $data['body'] ?? '');

0 commit comments

Comments
 (0)