mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 06:23:23 +00:00
test(models): cover finished_at datetime cast
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
use App\Models\ScheduledDatabaseBackupExecution;
|
||||
|
||||
it('casts finished_at to a datetime', function () {
|
||||
expect((new ScheduledDatabaseBackupExecution)->getCasts())
|
||||
->toHaveKey('finished_at', 'datetime');
|
||||
});
|
||||
Reference in New Issue
Block a user