mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 09:12:14 +00:00
helpers refactoring
This commit is contained in:
@@ -32,7 +32,7 @@ class SchedulerTest extends TestCase
|
||||
$share = Share::factory(Share::class)
|
||||
->create([
|
||||
'expire_in' => 24,
|
||||
'created_at' => Carbon::now()->subDay(),
|
||||
'created_at' => now()->subDay(),
|
||||
]);
|
||||
|
||||
$this->scheduler->delete_expired_shared_links();
|
||||
@@ -58,7 +58,7 @@ class SchedulerTest extends TestCase
|
||||
|
||||
$zip = Zip::factory(Zip::class)->create([
|
||||
'basename' => 'EHWKcuvKzA4Gv29v-archive.zip',
|
||||
'created_at' => Carbon::now()->subDay(),
|
||||
'created_at' => now()->subDay(),
|
||||
]);
|
||||
|
||||
$this->scheduler->delete_old_zips();
|
||||
|
||||
Reference in New Issue
Block a user