Skip to content
Snippets Groups Projects
Commit 78ad985c authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

(component-publons): change insitution to affiliation

parent 07e1f6f2
No related branches found
No related tags found
1 merge request!43Sprint #19
...@@ -13,6 +13,6 @@ module.exports = { ...@@ -13,6 +13,6 @@ module.exports = {
name: reviewer.publishingName, name: reviewer.publishingName,
profileUrl: reviewer.profileUrl, profileUrl: reviewer.profileUrl,
reviews: reviewer.numVerifiedReviews, reviews: reviewer.numVerifiedReviews,
institution: reviewer.recentOrganizations[0].name, affiliation: reviewer.recentOrganizations[0].name,
})), })),
} }
...@@ -45,7 +45,7 @@ describe('Publons helpers', () => { ...@@ -45,7 +45,7 @@ describe('Publons helpers', () => {
}) })
expect(reviewers).toHaveLength(2) expect(reviewers).toHaveLength(2)
expect(reviewers[0]).toHaveProperty('institution') expect(reviewers[0]).toHaveProperty('affiliation')
expect(reviewers[0]).toHaveProperty('reviews') expect(reviewers[0]).toHaveProperty('reviews')
expect(reviewers[0]).toHaveProperty('name') expect(reviewers[0]).toHaveProperty('name')
expect(reviewers[0]).toHaveProperty('email') expect(reviewers[0]).toHaveProperty('email')
......
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