Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
alejsdev committed Apr 22, 2024
1 parent cba5804 commit f04266f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/app/tests/api/routes/test_users.py
Expand Up @@ -426,6 +426,8 @@ def test_delete_user_super_user(
assert r.status_code == 200
deleted_user = r.json()
assert deleted_user["message"] == "User deleted successfully"
result = db.exec(select(User).where(User.id == user_id)).first()
assert result is None


def test_delete_user_not_found(
Expand Down

0 comments on commit f04266f

Please sign in to comment.