fix tests
This commit is contained in:
parent
b745cfe2f7
commit
69b23092af
|
@ -122,7 +122,10 @@ export class MetaService implements OnApplicationShutdown {
|
|||
|
||||
return metas[0];
|
||||
} else {
|
||||
return await transactionalEntityManager.save(MiMeta, data);
|
||||
return await transactionalEntityManager.save(MiMeta, {
|
||||
...data,
|
||||
id: 'x',
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue