mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update BackupTest.php
This commit is contained in:
parent
96bc319cb7
commit
e8ff2c3bc4
1 changed files with 2 additions and 2 deletions
|
@ -94,9 +94,9 @@ class BackupTest extends ActionTestCase
|
|||
$this->assertNotEmpty($findBackup->filepath);
|
||||
$this->assertTrue(file_exists(Storage::disk('backups')->path($findBackup->filepath)));
|
||||
|
||||
$getFilesize = filesize($findBackup->filepath);
|
||||
$getFilesize = filesize(Storage::disk('backups')->path($findBackup->filepath));
|
||||
$this->assertGreaterThan(0, $getFilesize);
|
||||
$this->assertSame(Helpers::checkPathSize($findBackup->path), $findBackup->size);
|
||||
$this->assertSame($getFilesize, $findBackup->size);
|
||||
|
||||
Helpers::extractTar(Storage::disk('backups')->path($findBackup->filepath), $findBackup->path . '/unit-test');
|
||||
|
||||
|
|
Loading…
Reference in a new issue