Skip to content

Commit 4bce413

Browse files
lrljoegithub-actions[bot]
authored andcommitted
Fix styling
1 parent e9b70e1 commit 4bce413

File tree

4 files changed

+12
-17
lines changed

4 files changed

+12
-17
lines changed

tests/Traits/Visuals/Themed/Bootstrap4/BS4PaginationVisualsTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,15 @@ final class BS4PaginationVisualsTest extends ThemedTestCase
1212
protected function setupBasicTableForBrowsing()
1313
{
1414
return $this->setupBasicTableForLivewire()
15-
->call('setTheme', 'bootstrap-4');
15+
->call('setTheme', 'bootstrap-4');
1616
}
1717

1818
protected function setupBasicTableSingleRecord()
1919
{
2020
return $this->setupSingleRecordBasicTable()
21-
->call('setTheme', 'bootstrap-4');
21+
->call('setTheme', 'bootstrap-4');
2222
}
2323

24-
2524
public function test_pagination_shows_by_default(): void
2625
{
2726
$this->setupBasicTableSingleRecord()
@@ -75,5 +74,4 @@ public function test_detailed_pagination_is_not_displayed_simple_bs4(): void
7574
->assertDontSeeHtml('<span>Showing</span>')
7675
->assertDontSeeHtml('<span>to</span>');
7776
}
78-
7977
}

tests/Traits/Visuals/Themed/Bootstrap5/BS5PaginationVisualsTest.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@
99

1010
final class BS5PaginationVisualsTest extends ThemedTestCase
1111
{
12-
1312
protected function setupBasicTableForBrowsing()
1413
{
1514
return $this->setupBasicTableForLivewire()
16-
->call('setTheme', 'bootstrap-5');
15+
->call('setTheme', 'bootstrap-5');
1716
}
1817

1918
protected function setupBasicTableSingleRecord()
2019
{
2120
return $this->setupSingleRecordBasicTable()
22-
->call('setTheme', 'bootstrap-5');
21+
->call('setTheme', 'bootstrap-5');
2322
}
2423

2524
public function test_pagination_shows_by_default(): void
@@ -35,7 +34,6 @@ public function test_per_page_shows_by_default(): void
3534
->assertSeeHtml('<select wire:model.live="perPage" id="table-perPage" class="form-select">');
3635
}
3736

38-
3937
public function test_detailed_pagination_is_displayed_standard_bs5(): void
4038
{
4139
$this->tableWithStandardDetailedPagination()
@@ -76,5 +74,4 @@ public function test_detailed_pagination_is_not_displayed_simple_bs5(): void
7674
->assertDontSeeHtml('<span>Showing</span>')
7775
->assertDontSeeHtml('<span>to</span>');
7876
}
79-
8077
}

tests/Traits/Visuals/Themed/Tailwind/TWPaginationVisualsTest.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ final class TWPaginationVisualsTest extends ThemedTestCase
1212
protected function setupBasicTableForBrowsing()
1313
{
1414
return $this->setupBasicTableForLivewire()
15-
->call('setTheme', 'tailwind');
15+
->call('setTheme', 'tailwind');
1616
}
17-
17+
1818
protected function setupBasicTableSingleRecord()
1919
{
2020
return $this->setupSingleRecordBasicTable()
21-
->call('setTheme', 'tailwind');
21+
->call('setTheme', 'tailwind');
2222
}
2323

2424
public function test_pagination_shows_by_default(): void
@@ -65,7 +65,7 @@ public function test_per_page_is_removed_when_pagination_disabled(): void
6565
public function test_paged_results_label_shows_with_pagination_enabled_and_more_than_one_page(): void
6666
{
6767
$this->setupBasicTableSingleRecord()
68-
->assertSeeHtml('<p class="paged-pagination-results text-sm text-gray-700 leading-5 dark:text-white">');
68+
->assertSeeHtml('<p class="paged-pagination-results text-sm text-gray-700 leading-5 dark:text-white">');
6969
}
7070

7171
public function test_paged_results_label_doesnt_show_with_pagination_enabled_and_less_than_one_page(): void
@@ -194,7 +194,6 @@ public function test_detailed_pagination_is_not_displayed_simple_tw(): void
194194
->assertDontSeeHtml('<span>to</span>');
195195
}
196196

197-
198197
public function test_pagination_field_can_set_colors(): void
199198
{
200199
$this->setupBasicTableForBrowsing()

tests/Traits/Visuals/Themed/ThemedTestCase.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
abstract class ThemedTestCase extends TestCase
1111
{
1212
abstract protected function setupBasicTableForBrowsing();
13+
1314
abstract protected function setupBasicTableSingleRecord();
1415

1516
protected function setupBasicTableForLivewire()
@@ -25,8 +26,8 @@ public function pagination_shows_by_default()
2526
public function setupSingleRecordBasicTable()
2627
{
2728
return $this->setupBasicTableForLivewire()
28-
->call('setPerPageAccepted', [1])
29-
->call('setPerPage', 1);
29+
->call('setPerPageAccepted', [1])
30+
->call('setPerPage', 1);
3031
}
3132

3233
public function tableWithStandardDetailedPagination()
@@ -40,4 +41,4 @@ public function tableWithSimpleDetailedPagination()
4041
return $this->setupBasicTableSingleRecord()
4142
->call('enableDetailedPagination', 'simple');
4243
}
43-
}
44+
}

0 commit comments

Comments
 (0)