Skip to content

Commit

Permalink
Update RepeaterTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Feb 2, 2025
1 parent d035300 commit dab4b76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/Forms/Components/RepeaterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
use Filament\Tests\Fixtures\Livewire\Livewire;
use Filament\Tests\Models\Post;
use Filament\Tests\Models\User;
use Filament\Tests\Fixtures\Models\Post;
use Filament\Tests\Fixtures\Models\User;
use Filament\Tests\TestCase;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
Expand Down Expand Up @@ -146,7 +146,7 @@
$undoRepeaterFake();
});

it('loads relationship', function () {
it('loads a relationship', function () {
$user = User::factory()
->has(Post::factory()->count(3))
->create();
Expand All @@ -167,7 +167,7 @@
->toBe(3);
});

it('throw exception for missing relationship', function () {
it('throws an exception for a missing relationship', function () {
$componentContainer = Schema::make(Livewire::make())
->statePath('data')
->components([
Expand Down

0 comments on commit dab4b76

Please sign in to comment.