Added an option to enable/disable private mode in mediawiki

Add tests for mediawiki private mode

Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Hemanth Kumar Veeranki authored and James Valleroy committed 2018-06-04 17:37:26 -04:00
1 parent b9019017f0
commit 6f5b4fba38
9 files changed
+136 -4

No files matched your search

+12 -1
View File
@@ -41,4 +41,15 @@ Scenario: Enable public registrations
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
Then the mediawiki site should not allow creating accounts
Scenario: Enable private mode
Given the mediawiki application is enabled
When I enable mediawiki private mode
Then the mediawiki site should not allow creating accounts
Then the mediawiki site should not allow anonymous reads and writes
Scenario: Disable private mode
Given the mediawiki application is enabled
When I disable mediawiki private mode
Then the mediawiki site should allow anonymous reads and writes