Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BarTracz committed Jun 28, 2024
1 parent 93c3c7b commit 32f82f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/DecoratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testBasicArrayAccessItems(): void
$result = $builder->build($data);

$this->assertSame(
expected: [0, 0, 2, 5, 0, 7, 0, 1, 1],
expected: [0, 2, 5, 0, 7, 0, 1, 1],
actual: array_map(fn(Tile $item): int => $item->count, $result),
);

Expand All @@ -50,7 +50,7 @@ public function testBasicArrayAccessItems(): void
$this->assertSame(
expected: array_map(
fn(string $class): string => "$defaultClasses $class",
["bg-white", "bg-white", "bg-green-100", "bg-green-600", "bg-white", "bg-green-900", "bg-white", "bg-green-50"],
["bg-white", "bg-green-100", "bg-green-600", "bg-white", "bg-green-900", "bg-white", "bg-green-50", "bg-green-50"],
),
actual: array_map(fn(Tile $item): string => $item->description, $result),
);
Expand Down

0 comments on commit 32f82f2

Please sign in to comment.