Skip to content

Commit

Permalink
[feature 145028639] Correct check to pass build
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriaaoka committed May 25, 2017
1 parent d4fb2c4 commit f0bb3b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hc/accounts/tests/test_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def test_it_sends_link(self):
self.assertIn(self.profile.token, mail.outbox[0].body)

# ## Assert that check is associated with the new user
check = Check(user=self.alice)
check.save()
test_user = User.objects.get(email="alice@example.org")
check = Check.objects.get(id=test_user.id)
self.assertEqual(check.id, test_user.id)
Expand Down

0 comments on commit f0bb3b9

Please sign in to comment.