pr requested changes

This commit is contained in:
Marc-Roig 2022-08-11 14:30:38 +02:00
parent 0a97419ece
commit c56ddfb253

View File

@ -163,7 +163,9 @@ 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({});
const dbComponents = await strapi.db
.query('default.compo')
.findMany({ name: 'compo name updated' });
expect(dbComponents).toHaveLength(0);
});
});