mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Add change tracking and fix tests
This commit is contained in:
@@ -52,6 +52,6 @@ class TestInvitePost(BaseTestCase):
|
||||
password = 'test1234'
|
||||
response = post_request('/invite/{}'.format(token), data={'password': password}, org=self.factory.org)
|
||||
self.assertEqual(response.status_code, 302)
|
||||
self.factory.user = User.get_by_id(self.factory.user.id)
|
||||
self.assertTrue(self.factory.user.verify_password(password))
|
||||
user = User.get_by_id(self.factory.user.id)
|
||||
self.assertTrue(user.verify_password(password))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user