Skip to content

Commit

Permalink
tests: add DOI to minimal_record
Browse files Browse the repository at this point in the history
  • Loading branch information
ptamarit committed Dec 16, 2024
1 parent 07d5dc4 commit f7cf7ed
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@ def user(UserFixture, app, db):
def minimal_record(running_app):
"""Minimal record data as dict coming from the external world."""
return {
"pids": {
"doi": {
"identifier": "10.1234/inveniordm.1234",
"provider": "datacite",
"client": "inveniordm",
},
"oai": {
"identifier": "oai:vvv.com:abcde-fghij",
"provider": "oai",
},
},
"access": {
"record": "public",
"files": "public",
Expand Down

0 comments on commit f7cf7ed

Please sign in to comment.