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 361da3e commit 5b709d5
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 @@ -84,12 +84,12 @@ public function testTodayAndFuture(): void
$result = $builder->build($data);

$this->assertSame(
expected: [0, 0, 0, 0, 0, 0, 1, 0],
expected: [0, 0, 0, 0, 0, 1, 0, 0],
actual: array_map(fn(Tile $item): int => $item->isToday ? 1 : 0, $result),
);

$this->assertSame(
expected: [0, 0, 0, 0, 0, 0, 0, 1],
expected: [0, 0, 0, 0, 0, 0, 1, 1],
actual: array_map(fn(Tile $item): int => $item->inFuture ? 1 : 0, $result),
);
}
Expand Down

0 comments on commit 5b709d5

Please sign in to comment.