Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lesnik512 committed Nov 9, 2024
1 parent e7c0ac5 commit 011267c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async def test_get_cards_empty(client: AsyncClient, db_session: AsyncSession) ->
assert response.status_code == status.HTTP_200_OK
assert len(response.json()["items"]) == 0

response = await client.get(f"/api/decks/{deck.id}/cards/0/")
response = await client.get("/api/cards/0/")
assert response.status_code == status.HTTP_404_NOT_FOUND


Expand Down

0 comments on commit 011267c

Please sign in to comment.