def METHOD_NAME(
    client,
    api_user_active,
    mock_get_user_by_email,
    mock_send_verify_code,
):
    with client.session_transaction() as session:
        session["user_details"] = {
            "id": api_user_active["id"],
            "email": api_user_active["email_address"],
        }
    response = client.get(url_for("main.check_and_resend_text_code"))
    assert response.status_code == 200
    page = BeautifulSoup(response.data.decode("utf-8"), "html.parser")
    assert page.h1.string == "Re-send security code"
    # there shouldn't be a form for updating mobile number
    assert page.find("form") is None