Fixed test

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-05-15 16:47:45 +01:00
parent c1d5b8713b
commit 72c85f93b6

View file

@ -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);
});