Skip to content

Commit

Permalink
refactor(templates): rename to convention
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Jul 25, 2023
1 parent 8191c8b commit d929676
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions benefits/core/migrations/0002_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ def load_data(app, *args, **kwargs):
AuthProvider = app.get_model("core", "AuthProvider")

senior_auth_provider = AuthProvider.objects.create(
sign_out_button_template="core/includes/sign-out-button--senior.html",
sign_out_link_template="core/includes/sign-out-link--senior.html",
sign_out_button_template="core/includes/button--sign-out--senior.html",
sign_out_link_template="core/includes/link--sign-out--senior.html",
client_name=os.environ.get("SENIOR_AUTH_PROVIDER_CLIENT_NAME", "senior-benefits-oauth-client-name"),
client_id=os.environ.get("AUTH_PROVIDER_CLIENT_ID", "benefits-oauth-client-id"),
authority=os.environ.get("AUTH_PROVIDER_AUTHORITY", "https://example.com"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/includes/sign-out-link.html" %}
{% extends "core/includes/link--sign-out.html" %}
{% load i18n %}

{% block button_text %}
Expand Down
4 changes: 2 additions & 2 deletions tests/pytest/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def model_PemData():
@pytest.fixture
def model_AuthProvider():
auth_provider = AuthProvider.objects.create(
sign_out_button_template="core/includes/sign-out-button--senior.html",
sign_out_link_template="core/includes/sign-out-link--senior.html",
sign_out_button_template="core/includes/button--sign-out--senior.html",
sign_out_link_template="core/includes/link--sign-out--senior.html",
client_name="Client",
client_id="1234",
authority="https://example.com",
Expand Down

0 comments on commit d929676

Please sign in to comment.