1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-08 06:55:24 +02:00

feat: User Tooltip (#4319)

This commit is contained in:
Michael Genson 2024-10-11 19:36:26 -05:00 committed by GitHub
parent a2bdb02a7f
commit e06572b7ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 164 additions and 80 deletions

View file

@ -7,10 +7,10 @@ from tests.utils.fixture_schemas import TestUser
def test_get_household_members(api_client: TestClient, user_tuple: list[TestUser], h2_user: TestUser):
usr_1, usr_2 = user_tuple
response = api_client.get(api_routes.households_members, headers=usr_1.token)
response = api_client.get(api_routes.households_members, params={"perPage": -1}, headers=usr_1.token)
assert response.status_code == 200
members = response.json()
members = response.json()["items"]
assert len(members) >= 2
all_ids = [x["id"] for x in members]