Update BackupTest.php

This commit is contained in:
Bozhidar 2024-04-25 17:56:15 +03:00
parent 91d87f67f7
commit 844a71305b

View file

@ -13,7 +13,7 @@ use Tests\Feature\Api\ActionTestCase;
class BackupTest extends ActionTestCase class BackupTest extends ActionTestCase
{ {
public function testBackup() public function testSystemBackup()
{ {
$backup = new Backup(); $backup = new Backup();
$checkCronJob = $backup->checkCronJob(); $checkCronJob = $backup->checkCronJob();
@ -45,7 +45,7 @@ class BackupTest extends ActionTestCase
$hostingSubscription->save(); $hostingSubscription->save();
$backup = new Backup(); $backup = new Backup();
$backup->backup_type = 'full'; $backup->backup_type = 'system';
$backup->save(); $backup->save();
$backupId = $backup->id; $backupId = $backup->id;