Browse Source

Fix tests.

pull/358/head
Pēteris Caune 5 years ago
parent
commit
f12a649c72
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/front/tests/test_add_slack_btn.py

+ 1
- 1
hc/front/tests/test_add_slack_btn.py View File

@ -16,7 +16,7 @@ class AddSlackBtnTestCase(BaseTestCase):
def test_slack_button(self): def test_slack_button(self):
self.client.login(username="[email protected]", password="password") self.client.login(username="[email protected]", password="password")
r = self.client.get(self.url) 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 # There should now be a key in session
self.assertTrue("add_slack" in self.client.session) self.assertTrue("add_slack" in self.client.session)


Loading…
Cancel
Save