From f12a649c727f8c69b2fbbcfca179fdaced1e5c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 6 Apr 2020 13:36:46 +0300 Subject: [PATCH] Fix tests. --- hc/front/tests/test_add_slack_btn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/front/tests/test_add_slack_btn.py b/hc/front/tests/test_add_slack_btn.py index 360d6e22..ba193387 100644 --- a/hc/front/tests/test_add_slack_btn.py +++ b/hc/front/tests/test_add_slack_btn.py @@ -16,7 +16,7 @@ class AddSlackBtnTestCase(BaseTestCase): def test_slack_button(self): self.client.login(username="alice@example.org", password="password") r = self.client.get(self.url) - self.assertContains(r, "slack.com/oauth/authorize", status_code=200) + self.assertContains(r, "slack.com/oauth/v2/authorize", status_code=200) # There should now be a key in session self.assertTrue("add_slack" in self.client.session)