mirror of
https://github.com/simple-login/app.git
synced 2025-02-22 14:53:34 +08:00
fix test
This commit is contained in:
parent
c715f87526
commit
be5cdc59ba
1 changed files with 1 additions and 2 deletions
|
@ -56,7 +56,7 @@ def test_authorize_page_non_login_user(flask_client):
|
|||
|
||||
html = r.get_data(as_text=True)
|
||||
assert r.status_code == 200
|
||||
assert "In order to accept the request, you need to sign in" in html
|
||||
assert "Sign in to accept sharing data with" in html
|
||||
|
||||
|
||||
def test_authorize_page_login_user_non_supported_flow(flask_client):
|
||||
|
@ -116,7 +116,6 @@ def test_authorize_page_login_user(flask_client):
|
|||
|
||||
html = r.get_data(as_text=True)
|
||||
assert r.status_code == 200
|
||||
assert "You can customize the info sent to this app" in html
|
||||
assert "a@b.c (Personal Email)" in html
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue