Skip to content

Commit

Permalink
Removal of unnecessary content
Browse files Browse the repository at this point in the history
  • Loading branch information
bzy107 committed Nov 8, 2023
1 parent d636447 commit 9cf3671
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/panels/docs/13-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ Use `assertHasFormErrors()` to ensure that data is properly validated in a form:
use function Pest\Livewire\livewire;

it('can validate input', function () {
$newData = Post::factory()->make();

livewire(PostResource\Pages\CreatePost::class)
->fillForm([
'title' => null,
Expand Down Expand Up @@ -190,7 +188,6 @@ use function Pest\Livewire\livewire;

it('can validate input', function () {
$post = Post::factory()->create();
$newData = Post::factory()->make();

livewire(PostResource\Pages\EditPost::class, [
'record' => $post->getRouteKey(),
Expand Down

0 comments on commit 9cf3671

Please sign in to comment.