Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tests: Remove ignored parameters from bots tests.

Lauryn Menardc8d8e8211832
diff --git a/zerver/tests/test_bots.py b/zerver/tests/test_bots.py
index d727e134e30..09daaca7005 100644
--- a/zerver/tests/test_bots.py
+++ b/zerver/tests/test_bots.py
@@ -1448,7 +1448,7 @@ class BotTest(ZulipTestCase, UploadSerializeMixin):
"short_name": "hambot",
"bot_type": UserProfile.OUTGOING_WEBHOOK_BOT,
"payload_url": orjson.dumps("http://foo.bar.com").decode(),
- "service_interface": Service.GENERIC,
+ "interface_type": Service.GENERIC,
}
result = self.client_post("/json/bots", bot_info)
self.assert_json_success(result)