Skip to content

Commit

Permalink
test(api): Fix author creation helper
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkeyDo committed Jun 19, 2020
1 parent e791a62 commit 7d839cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-helpers/create-entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export async function createAuthor(optionalBBID, optionalAuthorAttribs = {}) {
.save(null, {method: 'insert'});
// Front-end requires 'Person' and 'Group' types
try {
await new AuthorType({id: authorTypeAttribs.id, label: 'Person'})
await new AuthorType({id: authorAttribs.typeId, label: 'Person'})
.save(null, {method: 'insert'});
}
catch (error) {
Expand Down

0 comments on commit 7d839cd

Please sign in to comment.