update setting name, tests
This commit is contained in:
parent
0b12e2827f
commit
07af134027
4 changed files with 14 additions and 5 deletions
|
|
@ -2115,6 +2115,14 @@ class TestUnconnectedCommand(BaseEvenniaCommandTest):
|
|||
self.call(unloggedin.CmdUnconnectedInfo(), "", expected)
|
||||
del gametime.SERVER_START_TIME
|
||||
|
||||
@override_settings(NEW_ACCOUNT_REGISTRATION_ENABLED=False)
|
||||
def test_disabled_registration(self):
|
||||
self.call(
|
||||
unloggedin.CmdUnconnectedCreate(),
|
||||
"testacct testpass",
|
||||
"Registration is currently disabled.",
|
||||
)
|
||||
|
||||
|
||||
# Test syscommands
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue