Skip to content

Commit c5bb1e8

Browse files
lrljoegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 6cebc7f commit c5bb1e8

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

tests/Traits/Core/CustomAttributesTest.php

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44

55
use PHPUnit\Framework\Attributes\DataProvider;
66
use PHPUnit\Framework\Attributes\Depends;
7-
use Rappasoft\LaravelLivewireTables\Tests\TestCase;
87
use Rappasoft\LaravelLivewireTables\Tests\Http\Livewire\PetsTable;
8+
use Rappasoft\LaravelLivewireTables\Tests\TestCase;
99

1010
final class CustomAttributesTest extends TestCase
1111
{
12-
1312
public function test_can_get_custom_attribute_defaults_false_standard_mode(): void
1413
{
1514
$mock = new class extends PetsTable
@@ -25,11 +24,10 @@ public function configure(): void
2524
$mock->configure();
2625
$mock->boot();
2726

28-
2927
$this->assertSame([
30-
'default' => false,
31-
'default-colors' => false,
32-
'default-styling' => false
28+
'default' => false,
29+
'default-colors' => false,
30+
'default-styling' => false,
3331
], $mock->getCustomAttributes('testAttributesArray', false, true));
3432
}
3533

@@ -49,8 +47,8 @@ public function configure(): void
4947
$mock->boot();
5048

5149
$this->assertSame([
52-
'default-colors' => false,
53-
'default-styling' => false
50+
'default-colors' => false,
51+
'default-styling' => false,
5452
], $mock->getCustomAttributes('testAttributesArray', false, false));
5553
}
5654

@@ -70,9 +68,9 @@ public function configure(): void
7068
$mock->boot();
7169

7270
$this->assertSame([
73-
'default' => true,
74-
'default-colors' => true,
75-
'default-styling' => true
71+
'default' => true,
72+
'default-colors' => true,
73+
'default-styling' => true,
7674
], $mock->getCustomAttributes('testAttributesArray', true, true));
7775
}
7876

@@ -92,10 +90,8 @@ public function configure(): void
9290
$mock->boot();
9391

9492
$this->assertSame([
95-
'default-colors' => true,
96-
'default-styling' => true
93+
'default-colors' => true,
94+
'default-styling' => true,
9795
], $mock->getCustomAttributes('testAttributesArray', true, false));
9896
}
99-
100-
101-
}
97+
}

0 commit comments

Comments
 (0)