requested pr changes

This commit is contained in:
Marc-Roig 2022-08-11 12:13:44 +02:00
parent a15a0bfab5
commit 0a97419ece

View File

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