',
@@ -210,7 +210,7 @@ public function test_detailed_pagination_is_displayed_simple_bs4(): void
public function test_detailed_pagination_is_not_displayed_standard_bs4(): void
{
Livewire::test(PetsTable::class)
- ->set('theme', 'bootstrap-4')
+ ->call('setTheme', 'bootstrap-4')
->call('disableDetailedPagination', 'standard')
->assertDontSeeHtml('
')
@@ -220,7 +220,7 @@ public function test_detailed_pagination_is_not_displayed_standard_bs4(): void
public function test_detailed_pagination_is_not_displayed_simple_bs4(): void
{
Livewire::test(PetsTable::class)
- ->set('theme', 'bootstrap-4')
+ ->call('setTheme', 'bootstrap-4')
->call('disableDetailedPagination', 'simple')
->assertDontSeeHtml('
');
@@ -229,7 +229,7 @@ public function test_detailed_pagination_is_not_displayed_simple_bs4(): void
public function test_detailed_pagination_is_displayed_standard_bs5(): void
{
Livewire::test(PetsTable::class)
- ->set('theme', 'bootstrap-5')
+ ->call('setTheme', 'bootstrap-5')
->call('enableDetailedPagination', 'standard')
->assertSeeHtmlInOrder(['
',
'
Showing',
@@ -242,7 +242,7 @@ public function test_detailed_pagination_is_displayed_standard_bs5(): void
public function test_detailed_pagination_is_displayed_simple_bs5(): void
{
Livewire::test(PetsTable::class)
- ->set('theme', 'bootstrap-5')
+ ->call('setTheme', 'bootstrap-5')
->call('enableDetailedPagination', 'simple')
->assertSeeHtmlInOrder(['
',
'Showing',
@@ -255,7 +255,7 @@ public function test_detailed_pagination_is_displayed_simple_bs5(): void
public function test_detailed_pagination_is_not_displayed_standard_bs5(): void
{
Livewire::test(PetsTable::class)
- ->set('theme', 'bootstrap-5')
+ ->call('setTheme', 'bootstrap-5')
->call('disableDetailedPagination', 'standard')
->assertDontSeeHtml('Showing')
->assertDontSeeHtml('to')
@@ -265,7 +265,7 @@ public function test_detailed_pagination_is_not_displayed_standard_bs5(): void
public function test_detailed_pagination_is_not_displayed_simple_bs5(): void
{
Livewire::test(PetsTable::class)
- ->set('theme', 'bootstrap-5')
+ ->call('setTheme', 'bootstrap-5')
->call('disableDetailedPagination', 'simple')
->assertDontSeeHtml('Showing')
->assertDontSeeHtml('to');
diff --git a/tests/Traits/Visuals/SortingVisualsTest.php b/tests/Traits/Visuals/SortingVisualsTest.php
index 4b2d44275..6419f2643 100644
--- a/tests/Traits/Visuals/SortingVisualsTest.php
+++ b/tests/Traits/Visuals/SortingVisualsTest.php
@@ -121,7 +121,6 @@ public function test_multiple_sorting_pill_shows_with_single_column_off(): void
public function test_sorting_pill_shows_correct_name_and_direction(): void
{
Livewire::test(PetsTable::class)
- ->assertDontSee('Key')
->call('sortBy', 'id')
->assertSee('Key')
->assertSee('0-9')