diff --git a/packages/tables/docs/12-testing.md b/packages/tables/docs/12-testing.md index 0e335f7493..62a7be4eb1 100644 --- a/packages/tables/docs/12-testing.md +++ b/packages/tables/docs/12-testing.md @@ -241,7 +241,7 @@ it('displays author in red', function () { ### Select Columns -If you have a select column, you can ensure it has the correct options with `assertSelectColumnHasOptions()` and `assertSelectColumnDoesNotHaveOptions()`: +If you have a select column, you can ensure it has the correct options with `assertTableSelectColumnHasOptions()` and `assertTableSelectColumnDoesNotHaveOptions()`: ```php use function Pest\Livewire\livewire; @@ -250,8 +250,8 @@ it('has the correct statuses', function () { $post = Post::factory()->create(); livewire(PostsTable::class) - ->assertSelectColumnHasOptions('status', ['unpublished' => 'Unpublished', 'published' => 'Published'], $post) - ->assertSelectColumnDoesNotHaveOptions('status', ['archived' => 'Archived'], $post); + ->assertTableSelectColumnHasOptions('status', ['unpublished' => 'Unpublished', 'published' => 'Published'], $post) + ->assertTableSelectColumnDoesNotHaveOptions('status', ['archived' => 'Archived'], $post); }); ```