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:
parent
0a6db6a19f
commit
8cea40a890
|
|
@ -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()
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue