File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
backend/api/submissions/tests Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -141,12 +141,11 @@ def test_accepted_submissions_are_public(graphql_client):
141141 assert not resp .get ("errors" )
142142 assert len (resp ["data" ]["submissions" ]["items" ]) == 1
143143 assert resp ["data" ]["submissions" ]["items" ][0 ]["id" ] == submission .hashid
144- assert (
145- resp ["data" ]["submissions" ]["items" ][0 ]["speaker" ]["id" ]
146- == submission .speaker_id
144+ assert resp ["data" ]["submissions" ]["items" ][0 ]["speaker" ]["id" ] == str (
145+ submission .speaker_id
147146 )
148147 assert (
149- resp ["data" ]["submissions" ]["items" ][0 ]["speaker" ]["participant" ]
148+ resp ["data" ]["submissions" ]["items" ][0 ]["speaker" ]["participant" ][ "id" ]
150149 == participant .hashid
151150 )
152151 assert resp ["data" ]["submissions" ]["pageInfo" ] == {"totalPages" : 1 , "totalItems" : 1 }
You can’t perform that action at this time.
0 commit comments