Skip to content

Commit

Permalink
chore(docs): Fix a prisma client call b/c latest Prisma Client (#535)
Browse files Browse the repository at this point in the history
Update post query due to latest Prisma Client which of version is `2.8.0`.
  • Loading branch information
cybaj committed Oct 20, 2020
1 parent 0a6db6a commit 8cea40a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -298,7 +298,7 @@ it('ensures that a draft can be created and published', async () => {
}
`)

+ const persistedData = await ctx.app.db.client.post.findMany()
+ const persistedData = await ctx.db.post.findMany()

+ expect(persistedData).toMatchInlineSnapshot()
})
Expand Down

0 comments on commit 8cea40a

Please sign in to comment.