diff --git a/test/storageDataTypes.spec.ts b/test/storageDataTypes.spec.ts index 534b4f9c..b8588446 100644 --- a/test/storageDataTypes.spec.ts +++ b/test/storageDataTypes.spec.ts @@ -29,14 +29,9 @@ describe('storageDataTypes', () => { asAdmin(), ); - expect(persist.DataTypeTester).toMatchSnapshot(); + expect(persist).toMatchSnapshot(); - const result = await findOne( - DataTypeTester, - persist.DataTypeTester.id, - {}, - asAdmin(), - ); + const result = await findOne(DataTypeTester, persist.id, {}, asAdmin()); expect(result).toMatchSnapshot(); }); });