Commit 52dc769b authored by Giannis Kopanas's avatar Giannis Kopanas

Merge branch 'submit-manuscript-test' into 'master'

Submit manuscript test

See merge request !187
parents c5453ab8 86b25df2
Pipeline #8371 failed with stages
in 1 minute and 26 seconds
export const fragment = {
type: 'fragment',
files: {
manuscript: {
url: '/uploads/ec0a2df13f11ef9feaf4411b3ffd8c47.docx',
name: 'testSubmission1.docx',
},
supplementary: [],
},
notes: {
specialInstructions: 'special instructions...',
fundingAcknowledgement: '<p>funding acknowledgement...</p>',
},
owners: ['f34e6a7f-d078-4bcc-a45d-15b20ca06acf'],
source:
'<html xmlns="http://www.w3.org/1999/xhtml">\n<head><title>This is a dummy document for testing purposes</title>\n<meta charset="UTF-8"/></head>\n<body>\n<container id="main">\n<h1>This is a dummy document for testing purposes</h1></container>\n\n</body></html>',
created: '2018-06-09T11:37:17.717Z',
version: 1,
metadata: {
title: 'This is a dummy document for testing purposes',
authors: [
{
email: 'email@example.com',
lastName: 'John',
firstName: 'Cena',
affiliation: 'WWE',
},
],
abstract:
'This is a dummy document for testing purposes This is a dummy document for testing purposes This is a dummy document for testing purposes This is a dummy document for testing purposes This is a dummy document for testing purposes',
keywords: ['keywords...'],
articleType: 'original-research',
articleSection: ['clinical-psychology'],
},
submitted: '2018-06-09T11:38:29.994Z',
suggestions: {
editors: {
suggested: ['Marge Simpson'],
},
reviewers: {
suggested: ['Daffy Duck'],
},
},
declarations: {
openData: 'no',
preregistered: 'no',
researchNexus: 'no',
openPeerReview: 'no',
streamlinedReview: 'no',
previouslySubmitted: 'no',
},
fragmentType: 'version',
}
export const collection = {
type: 'collection',
title: 'This is a dummy document for testing purposes',
owners: ['f34e6a7f-d078-4bcc-a45d-15b20ca06acf'],
status: 'submitted',
created: 1528544237670,
fragments: [
// "af967b77-b860-4e57-bd3c-dd1cf3373003"
fragment,
],
}
export const collection = {
type: 'collection',
title: 'This is a test document',
owners: ['f34e6a7f-d078-4bcc-a45d-15b20ca06acf'],
status: 'submitted',
created: 1528545086643,
fragments: ['e26c7029-47b0-4c12-94e8-70063ddf3d78'],
}
export const fragment = {
type: 'fragment',
files: {
manuscript: {
url: '/uploads/3f0a64b9b26b45d08b292f55219d5dc9.docx',
name: 'testSubmission1.docx',
},
supplementary: [],
},
notes: {
specialInstructions: 'confidential special instructions...',
fundingAcknowledgement: '<p>funding body acknowledgement...</p>',
},
owners: ['f34e6a7f-d078-4bcc-a45d-15b20ca06acf'],
source:
'<html xmlns="http://www.w3.org/1999/xhtml">\n<head><title>This is a test document</title>\n<meta charset="UTF-8"/></head>\n<body>\n<container id="main">\n<h1>This is a test document</h1></container>\n\n</body></html>',
created: '2018-06-09T11:51:26.697Z',
version: 1,
metadata: {
title: 'This is a test document',
authors: [
{
email: 'example@email.com',
lastName: 'Simpson',
firstName: 'Homer',
affiliation: 'Power Plant',
},
],
abstract:
'This is a test document This is a test document This is a test document This is a test document This is a test document This is a test document This is a test document',
keywords: ['keywords...'],
articleType: 'review',
articleSection: ['clinical-psychology', 'methodology'],
},
submitted: '2018-06-09T11:53:22.599Z',
suggestions: {
editors: {
suggested: ['Lisa Simpso'],
},
reviewers: {
opposed: ['Marge Simpson'],
suggested: ['Moe Szyslak'],
},
},
declarations: {
openData: 'no',
preregistered: 'no',
researchNexus: 'no',
openPeerReview: 'no',
streamlinedReview: 'no',
previouslySubmitted: 'no',
},
fragmentType: 'version',
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment