mediawiki: Backup/restore settings also

Closes #1392.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2018-09-28 11:40:05 -07:00 committed by James Valleroy
parent 0ce97005b2
commit 852455b519
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 5 additions and 0 deletions

View File

@ -86,7 +86,9 @@ Scenario: Upload SVG image
Scenario: Backup and restore mediawiki Scenario: Backup and restore mediawiki
Given the mediawiki application is enabled Given the mediawiki application is enabled
When I create a backup of the mediawiki app data When I create a backup of the mediawiki app data
When I enable mediawiki public registrations
And I delete the mediawiki main page And I delete the mediawiki main page
And I export the mediawiki app data backup And I export the mediawiki app data backup
And I restore the mediawiki app data backup And I restore the mediawiki app data backup
Then the mediawiki main page should be restored Then the mediawiki main page should be restored
Then the mediawiki site should allow creating accounts

View File

@ -29,6 +29,9 @@ clients = validate([{
}]) }])
backup = validate_backup({ backup = validate_backup({
'config': {
'files': ['/etc/mediawiki/FreedomBoxSettings.php']
},
'data': { 'data': {
'directories': ['/var/lib/mediawiki-db/'] 'directories': ['/var/lib/mediawiki-db/']
} }