Skip to content

Commit d7ba2a2

Browse files
committed
tests
1 parent 672f634 commit d7ba2a2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/models-library/src/models_library/api_schemas_webserver/groups.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ class GroupUserGet(BaseModel):
251251
json_schema_extra={
252252
"example": {
253253
"id": "1",
254+
"userName": "mrmith",
254255
"login": "[email protected]",
255256
"first_name": "Mr",
256257
"last_name": "Smith",

services/web/server/tests/integration/01/test_garbage_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ async def get_group(client: TestClient, user: dict):
286286
app=client.app,
287287
user_id=user["id"],
288288
create=OrganizationCreate.model_validate(
289-
{"label": uuid4(), "description": uuid4(), "thumbnail": None}
289+
{"name": uuid4(), "description": uuid4(), "thumbnail": None}
290290
),
291291
)
292292

services/web/server/tests/unit/with_dbs/01/groups/test_groups_handlers_users.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,7 @@ async def group_where_logged_user_is_the_owner(
467467
user_id=logged_user["id"],
468468
create=OrganizationCreate.model_validate(
469469
{
470-
"gid": "6543",
471-
"label": f"this is user {logged_user['id']} group",
470+
"name": f"this is user {logged_user['id']} group",
472471
"description": f"user {logged_user['email']} is the owner of that one",
473472
"thumbnail": None,
474473
}

0 commit comments

Comments
 (0)