Skip to content

Commit

Permalink
Chore: move in-person enrollment template (#2424)
Browse files Browse the repository at this point in the history
  • Loading branch information
lalver1 authored Oct 7, 2024
2 parents 9c72497 + 160678f commit 1c215aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benefits/in_person/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def enrollment(request):
"title": f"{agency.long_name} | In-person enrollment | {admin_site.site_title}",
}

return TemplateResponse(request, "in_person/enrollment.html", context)
return TemplateResponse(request, "in_person/enrollment/index.html", context)


def reenrollment_error(request):
Expand Down
2 changes: 1 addition & 1 deletion tests/pytest/in_person/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def test_enrollment_logged_in_get(admin_client):

response = admin_client.get(path)
assert response.status_code == 200
assert response.template_name == "in_person/enrollment.html"
assert response.template_name == "in_person/enrollment/index.html"
assert "forms" in response.context_data
assert "cta_button" in response.context_data
assert "card_tokenize_env" in response.context_data
Expand Down

0 comments on commit 1c215aa

Please sign in to comment.