From 5b709d5aa5325ae19184aedc1f707985b068f1f7 Mon Sep 17 00:00:00 2001 From: BarTracz Date: Fri, 28 Jun 2024 12:00:48 +0200 Subject: [PATCH] test fix --- tests/DecoratorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/DecoratorTest.php b/tests/DecoratorTest.php index eb9d253..2044d55 100644 --- a/tests/DecoratorTest.php +++ b/tests/DecoratorTest.php @@ -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), ); }