- reuse user in backend location test

This commit is contained in:
Ulf Gebhardt 2021-02-02 02:51:00 +01:00
parent 143dee49c8
commit ad509c8818
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -99,9 +99,9 @@ describe('Location Service', () => {
// Authentication
// TODO: unify, externalize, simplify, wtf?
let user
beforeEach(async () => {
beforeAll(async () => {
user = await Factory.build('user', {
id: 'updating-user',
id: 'location-user',
})
authenticatedUser = await user.toJson()
})