Skip to content

Commit

Permalink
Use fixture so that the example_config.yaml is used
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Bethune <jörn@nospam.example.org>
  • Loading branch information
Jörn Bethune committed Dec 15, 2024
1 parent 8b9feaf commit 0deef07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/tests/test_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import jwt
import pytest
from fastapi import status
from fastapi import FastAPI, status
from fastapi.responses import JSONResponse
from fastapi.testclient import TestClient
from jwt.exceptions import ExpiredSignatureError
Expand All @@ -29,7 +29,7 @@
phone_number = "+491751234567"


def test_authentication_flow(session: Session):
def test_authentication_flow(fastapi_app: FastAPI, session: Session):
jwt_config = Config.load().authentication.secrets.jwt

request = PhoneNumberVerificationRequest(
Expand Down

0 comments on commit 0deef07

Please sign in to comment.