mirror of
https://github.com/strapi/strapi.git
synced 2026-01-03 10:46:21 +00:00
pr requested changes
This commit is contained in:
parent
0a97419ece
commit
c56ddfb253
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user