mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
test: update
This commit is contained in:
parent
0921e91034
commit
266ff0b5b1
@ -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, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user