Skip to content

Commit

Permalink
fix: tests bookid naming
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-scheers-lemon committed Oct 17, 2024
1 parent b61ba73 commit e3830e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('Queries end-to-end tests', () => {
},
mutation: gql`
mutation AddBook($bookId: ID!, $title: String!) {
AddBook(input: { bookId: $bookId, title: $title })
AddBook(input: { id: $bookId, title: $title })
}
`,
})
Expand All @@ -165,7 +165,7 @@ describe('Queries end-to-end tests', () => {
},
mutation: gql`
mutation AddMovie($movieId: ID!, $title: String!) {
AddMovie(input: { movieId: $bookId, title: $title })
AddMovie(input: { id: $bookId, title: $title })
}
`,
})
Expand Down

0 comments on commit e3830e5

Please sign in to comment.