test: update

This commit is contained in:
Marc-Roig 2023-04-27 11:06:04 +02:00
parent 0921e91034
commit 266ff0b5b1
No known key found for this signature in database
GPG Key ID: FB4E2C43A0BEE249

View File

@ -225,13 +225,17 @@ describe('Upload Plugin url signing', () => {
}
});
// test('entityService.update', async () => {
// const en = await strapi.entityService.findMany(modelUID, entity, {
// populate,
// });
test('entityService.update', async () => {
const model = await createModel();
const en = await strapi.entityService.update(modelUID, model.id, {
data: {
name: 'model_updated',
},
populate,
});
// responseExpectations(en);
// });
responseExpectations(en);
});
// test('entityService.delete', async () => {
// const en = await strapi.entityService.findMany(modelUID, entity, {