Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Issue #84: Add missing codebase backup component. (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
swichers committed Oct 1, 2020
1 parent f9795b8 commit 2bee369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Endpoints/ValidationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ protected function validateBackupOptions(array $options) {
}

$allowed_components = [
'codebase',
'database',
'public files',
'private files',
Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Endpoints/Entity/SiteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public function testBackup() {
$this->assertEquals(['database'], $result['json']['components']);

$components = [
'codebase',
'database',
'themes',
'public files',
Expand Down

0 comments on commit 2bee369

Please sign in to comment.