Skip to content

Commit 9237b4f

Browse files
[PLT-4135] Add lastLoginAt to unit test user fixtures
DbObject requires every declared field in the response payload, so the issue fixtures need the new field to hydrate a User.
1 parent 19d8245 commit 9237b4f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

libs/labelbox/tests/unit/schema/test_issue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"isExternalUser": False,
2424
"createdAt": _NOW,
2525
"updatedAt": _NOW,
26+
"lastLoginAt": _NOW,
2627
}
2728

2829
_COMMENT_RAW = {

libs/labelbox/tests/unit/schema/test_project_issues.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"isExternalUser": False,
3232
"createdAt": _NOW,
3333
"updatedAt": _NOW,
34+
"lastLoginAt": _NOW,
3435
}
3536

3637
_ISSUE_RAW = {

0 commit comments

Comments
 (0)