chore(docs): Fix a prisma client call b/c latest Prisma Client (#535)

Update post query due to latest Prisma Client which of version is `2.8.0`.
This commit is contained in:
Minseok Kim 2020-10-21 00:08:47 +09:00 committed by GitHub
parent 0a6db6a19f
commit 8cea40a890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()
})