mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
- reuse user in backend location test
This commit is contained in:
parent
143dee49c8
commit
ad509c8818
@ -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()
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user