Skip to content

Commit 43e2d75

Browse files
committed
Fix inconsistency in testing doc.
1 parent 7e714bd commit 43e2d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ very convenient::
388388

389389
with app.test_client() as c:
390390
rv = c.post('/api/auth', json={
391-
'username': 'flask', 'password': 'secret'
391+
'email': 'flask@example.com', 'password': 'secret'
392392
})
393393
json_data = rv.get_json()
394394
assert verify_token(email, json_data['token'])

0 commit comments

Comments
 (0)