mirror of
https://github.com/strapi/strapi.git
synced 2025-09-22 06:50:51 +00:00
requested pr changes
This commit is contained in:
parent
a15a0bfab5
commit
0a97419ece
@ -163,9 +163,7 @@ describe('Core API - Basic + compo + draftAndPublish', () => {
|
||||
|
||||
describe('database state', () => {
|
||||
test('components have been removed from the database', async () => {
|
||||
const dbComponents = await strapi.db
|
||||
.query('default.compo')
|
||||
.findMany({ name: 'compo name updated' });
|
||||
const dbComponents = await strapi.db.query('default.compo').findMany({});
|
||||
expect(dbComponents).toHaveLength(0);
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user