From 72c85f93b6f1224060861cd9deabc3060456be0c Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 15 May 2024 16:47:45 +0100 Subject: [PATCH] Fixed test Signed-off-by: snipe --- tests/Feature/Assets/AssetsBulkEditTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Assets/AssetsBulkEditTest.php b/tests/Feature/Assets/AssetsBulkEditTest.php index ee684d7676..70918b3595 100644 --- a/tests/Feature/Assets/AssetsBulkEditTest.php +++ b/tests/Feature/Assets/AssetsBulkEditTest.php @@ -103,7 +103,7 @@ class AssetsBulkEditTest extends TestCase $this->assertEquals($company2->id, $asset->company_id); $this->assertEquals(7890, $asset->order_number); $this->assertEquals(36, $asset->warranty_months); - $this->assertEquals('2025-01-01', $asset->next_audit_date->format('Y-m-d')); + $this->assertEquals('2025-01-01', $asset->next_audit_date); // shouldn't requestable be cast as a boolean??? it's not. $this->assertEquals(1, $asset->requestable); });