Skip to content

Commit

Permalink
fix: failing ahjo_connector test
Browse files Browse the repository at this point in the history
  • Loading branch information
rikuke committed Dec 7, 2023
1 parent e1caf4e commit 93e852b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/benefit/applications/tests/test_ahjo_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def token_response():
}


def test_is_configured(ahjo_connector, settings):
settings.AHJO_TOKEN_URL = "http://example.com/token"
settings.AHJO_CLIENT_ID = "client_id"
settings.AHJO_CLIENT_SECRET = "client_secret"
settings.AHJO_REDIRECT_URL = "http://example.com/redirect"
def test_is_configured(ahjo_connector):
ahjo_connector.AHJO_TOKEN_URL = "http://example.com/token"
ahjo_connector.AHJO_CLIENT_ID = "client_id"
ahjo_connector.AHJO_CLIENT_SECRET = "client_secret"
ahjo_connector.AHJO_REDIRECT_URL = "http://example.com/redirect"
assert ahjo_connector.is_configured() is True

# Test with missing config options
Expand Down

0 comments on commit 93e852b

Please sign in to comment.