Skip to content

Commit

Permalink
Update JSON fixture to reflect author now being added as creator
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Jan 22, 2025
1 parent 113ce4c commit 2dbc3d2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/fixtures/json/responses/get_max_publication.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
}
],
"creators": [
{
"profile": "/people/<%= res.assets_creators.first.creator_id %>",
"family_name": "<%= res.assets_creators.first.family_name %>",
"given_name": "<%= res.assets_creators.first.given_name %>",
"affiliation": "<%= res.assets_creators.first.affiliation %>",
"orcid": null
}
],
"other_creators": null,
"journal": "Journal of Molecular Biology",
Expand All @@ -88,6 +95,10 @@
"relationships": {
"creators": {
"data": [
{
"id": "<%= res.assets_creators.first.creator_id %>",
"type": "people"
}
]
},
"submitter": {
Expand All @@ -103,6 +114,10 @@
{
"id": "<%= current_person.id %>",
"type": "people"
},
{
"id": "<%= res.assets_creators.first.creator_id %>",
"type": "people"
}
]
},
Expand Down

0 comments on commit 2dbc3d2

Please sign in to comment.