Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Aug 20, 2024
1 parent f0ec9e3 commit 03fae4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .ds.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -601,15 +601,15 @@
"filename": "tests/app/main/views/test_user_profile.py",
"hashed_secret": "8072d7aad32964ec43fbcb699c75dc38890792f7",
"is_verified": false,
"line_number": 350,
"line_number": 336,
"is_secret": false
},
{
"type": "Secret Keyword",
"filename": "tests/app/main/views/test_user_profile.py",
"hashed_secret": "4c9dbb972da179e4f66f023eaa5fb9451d835030",
"is_verified": false,
"line_number": 351,
"line_number": 337,
"is_secret": false
}
],
Expand Down Expand Up @@ -692,5 +692,5 @@
}
]
},
"generated_at": "2024-08-15T16:29:15Z"
"generated_at": "2024-08-20T14:14:36Z"
}
14 changes: 0 additions & 14 deletions tests/app/main/views/test_user_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,20 +247,6 @@ def test_should_redirect_after_mobile_number_change(
assert session["new-mob"] == phone_number_to_register_with


def test_should_show_authenticate_after_mobile_number_change(
client_request,
):
with client_request.session_transaction() as session:
session["new-mob"] = "+12021234123"

page = client_request.get(
"main.user_profile_mobile_number_authenticate",
)

assert "Change your mobile number" in page.text
assert "Confirm" in page.text


def test_should_redirect_after_mobile_number_authenticate(
client_request,
mock_verify_password,
Expand Down

0 comments on commit 03fae4d

Please sign in to comment.