mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
Update BackupTest.php
This commit is contained in:
parent
91d87f67f7
commit
844a71305b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue