Fixing test mocks

- study_details returned in a list
- added `Q_COMPLETE` and `HSRNUMBER` to user_studies
- `required_docs` totally different from what we had
This commit is contained in:
mike cullerton 2021-11-08 09:55:06 -05:00
parent 6f09b0d7dd
commit 4e13ea6704
4 changed files with 30 additions and 20 deletions

View File

@ -1,22 +1,26 @@
[
{
"AUXDOC": "Cancer Center's PRC Approval Form",
"AUXDOCID": 6
{
"AUXDOCS": [ {
"AUXILIARY_DOC": "Cancer Center's PRC Approval Form",
"SS_AUXILIARY_DOC_TYPE_ID": 6
},
{
"AUXDOC": "InfoSec Approval",
"AUXDOCID": "24"
"AUXILIARY_DOC": "InfoSec Approval",
"SS_AUXILIARY_DOC_TYPE_ID": "24"
},
{
"AUXDOC": "Scientific Pre-review Documentation",
"AUXDOCID": "25"
"AUXILIARY_DOC": "Scientific Pre-review Documentation",
"SS_AUXILIARY_DOC_TYPE_ID": "25"
},
{
"AUXDOC": "GMEC Approval",
"AUXDOCID": "45"
"AUXILIARY_DOC": "GMEC Approval",
"SS_AUXILIARY_DOC_TYPE_ID": "45"
},
{
"AUXDOC": "Laser Safety Officer Approval",
"AUXDOCID": "57"
"AUXILIARY_DOC": "Laser Safety Officer Approval",
"SS_AUXILIARY_DOC_TYPE_ID": "57"
}
]
],
"OTHERDOCS": [],
"TEMPLATEDOCS": []
}

View File

@ -1,4 +1,4 @@
{
[{
"DSMB": 1,
"DSMB_FREQUENCY": 2,
"GCRC_NUMBER": "9",
@ -64,4 +64,4 @@
"SPONSORS_PROTOCOL_REVISION_DATE": "2021-04-20",
"UPLOAD_COMPLETE": null,
"REVIEW_TYPE": 2
}
}]

View File

@ -1,4 +1,4 @@
{
[{
"DSMB": 1,
"DSMB_FREQUENCY": 2,
"GCRC_NUMBER": "9",
@ -64,4 +64,4 @@
"SPONSORS_PROTOCOL_REVISION_DATE": "2021-04-20",
"UPLOAD_COMPLETE": null,
"REVIEW_TYPE": 99
}
}]

View File

@ -3,18 +3,24 @@
"DATE_MODIFIED": "2020-02-19T14:26:49.127756",
"NETBADGEID": "dhf8r",
"STUDYID": 54321,
"TITLE": "Another study about the effect of a naked mannequin on software productivity"
"TITLE": "Another study about the effect of a naked mannequin on software productivity",
"Q_COMPLETE": 0,
"HSRNUMBER": null
},
{
"DATE_MODIFIED": "2020-02-19T14:24:55.101695",
"NETBADGEID": "dhf8r",
"STUDYID": 65432,
"TITLE": "Peanut butter consumption among quiet dogs"
"TITLE": "Peanut butter consumption among quiet dogs",
"Q_COMPLETE": 0,
"HSRNUMBER": null
},
{
"DATE_MODIFIED": "2020-02-19T14:24:55.101695",
"NETBADGEID": "dhf8r",
"STUDYID": 1,
"TITLE": "Efficacy of xenomorph bio-augmented circuits on dexterity of cybernetic prostheses"
"TITLE": "Efficacy of xenomorph bio-augmented circuits on dexterity of cybernetic prostheses",
"Q_COMPLETE": 0,
"HSRNUMBER": null
}
]