mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
add_new_realm: Fix strict_optional errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
3885fdadce
commit
6c9c12ee2d
@@ -18,6 +18,7 @@ class Command(ZulipBaseCommand):
|
||||
UserProfile.objects.filter(email__contains='user@').count())
|
||||
user = do_create_user(f'{name}@{string_id}.zulip.com',
|
||||
'password', realm, name, name, role=UserProfile.ROLE_REALM_ADMINISTRATOR)
|
||||
assert realm.signup_notifications_stream is not None
|
||||
bulk_add_subscriptions([realm.signup_notifications_stream], [user])
|
||||
|
||||
send_initial_realm_messages(realm)
|
||||
|
||||
Reference in New Issue
Block a user