mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix registration page tests
This commit is contained in:
parent
5b789401bc
commit
1c78f30184
@ -88,9 +88,7 @@ describe('Registration', () => {
|
|||||||
$route: {
|
$route: {
|
||||||
query: {},
|
query: {},
|
||||||
},
|
},
|
||||||
app: {
|
$env: {},
|
||||||
$env: {},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -109,7 +107,7 @@ describe('Registration', () => {
|
|||||||
|
|
||||||
describe('no "PUBLIC_REGISTRATION" and no "INVITE_REGISTRATION"', () => {
|
describe('no "PUBLIC_REGISTRATION" and no "INVITE_REGISTRATION"', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
mocks.app.$env = {
|
mocks.$env = {
|
||||||
PUBLIC_REGISTRATION: false,
|
PUBLIC_REGISTRATION: false,
|
||||||
INVITE_REGISTRATION: false,
|
INVITE_REGISTRATION: false,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user