mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
mediawiki: enable/disable public registrations - refactoring & tests
- Add two functional tests to test enabling and disabling public registrations for MediaWiki - Refactor and simplify config-file editing logic in actions script Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
10 files changed
+121
-56
No files matched your search
@@ -32,3 +32,13 @@ Scenario: Disable mediawiki application
|
||||
Given the mediawiki application is enabled
|
||||
When I disable the mediawiki application
|
||||
Then the mediawiki site should not be available
|
||||
|
||||
Scenario: Enable public registrations
|
||||
Given the mediawiki application is enabled
|
||||
When I enable mediawiki public registrations
|
||||
Then the mediawiki site should allow creating accounts
|
||||
|
||||
Scenario: Disable public registrations
|
||||
Given the mediawiki application is enabled
|
||||
When I disable mediawiki public registrations
|
||||
Then the mediawiki site should not allow creating accounts
|
||||
Reference in new issue
Block a user