realm owners: Remove unnecessary duplicate strings.

This commit is contained in:
Tim Abbott
2020-06-14 21:32:10 -07:00
parent 18429cfd29
commit d97c891afe
5 changed files with 10 additions and 9 deletions

View File

@@ -4711,7 +4711,7 @@ class TestAdminSetBackends(ZulipTestCase):
self.login('iago')
result = self.client_patch("/json/realm", {
'authentication_methods': ujson.dumps({'Email': False, 'Dev': True})})
self.assert_json_error(result, 'Only organization owners can configure authentication methods.')
self.assert_json_error(result, 'Must be an organization owner')
self.login('desdemona')
result = self.client_patch("/json/realm", {