Update backend/src/graphql/resolver/UserResolver.test.ts

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
clauspeterhuebner 2023-07-13 13:36:12 +02:00 committed by GitHub
parent 1456d4a74a
commit f00c5cd9cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,10 +350,6 @@ describe('UserResolver', () => {
peter.userRoles[0].userId = peter.id
await peter.userRoles[0].save()
peter = await User.findOneOrFail({
where: { id: user[0].id },
relations: ['userRoles'],
})
// date statement
const actualDate = new Date()