test_mattermost_importer: Fix test for admins-to-owners change.

Commit ed498e2f8e forgot to update this
test.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-12-17 18:59:08 -08:00
parent ed498e2f8e
commit 6b8f4782c4
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class MatterMostImporter(ZulipTestCase):
self.assertEqual(user["full_name"], "Harry Potter") self.assertEqual(user["full_name"], "Harry Potter")
self.assertEqual(user["id"], 1) self.assertEqual(user["id"], 1)
self.assertEqual(user["is_active"], True) self.assertEqual(user["is_active"], True)
self.assertEqual(user["role"], UserProfile.ROLE_REALM_ADMINISTRATOR) self.assertEqual(user["role"], UserProfile.ROLE_REALM_OWNER)
self.assertEqual(user["is_mirror_dummy"], False) self.assertEqual(user["is_mirror_dummy"], False)
self.assertEqual(user["realm"], 3) self.assertEqual(user["realm"], 3)
self.assertEqual(user["short_name"], "harry") self.assertEqual(user["short_name"], "harry")