mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
mediawiki: Backup/restore settings also
Closes #1392. Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
0ce97005b2
commit
852455b519
@ -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
|
||||||
|
|||||||
@ -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/']
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user