File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
services/web/server/tests/unit/with_dbs/03 Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -126,13 +126,15 @@ async def test_search_and_pre_registration(
126126 found , _ = await assert_status (resp , status .HTTP_200_OK )
127127 assert len (found ) == 1
128128 got = UserForAdminGet (
129- ** found [0 ],
130129 institution = None ,
131130 address = None ,
132131 city = None ,
133132 state = None ,
134133 postal_code = None ,
135134 country = None ,
135+ pre_registration_id = None ,
136+ invited_by = None ,
137+ ** found [0 ],
136138 )
137139 expected = {
138140 "first_name" : logged_user .get ("first_name" ),
@@ -233,7 +235,7 @@ async def test_list_users_for_admin(
233235 # Access the items field from the paginated response
234236 pending_emails = [
235237 user ["email" ]
236- for user in data [ "items" ]
238+ for user in data
237239 if user .get ("account_request_status" ) == "PENDING"
238240 ]
239241 for pre_user in pre_registered_users :
You can’t perform that action at this time.
0 commit comments