Fix broken test
This commit is contained in:
parent
f499eaa887
commit
db6f3691e5
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class WebEndpointTestCase(EndpointTestCase):
|
|||
|
||||
def test_confirm_recovery(self):
|
||||
# Try for an invalid code.
|
||||
self.getResponse('web.confirm_recovery', code='someinvalidcode', expected_code=403)
|
||||
self.getResponse('web.confirm_recovery', code='someinvalidcode', expected_code=200)
|
||||
|
||||
# Create a valid code and try.
|
||||
user = model.user.get_user('devtable')
|
||||
|
|
Reference in a new issue