Fix registration page tests

This commit is contained in:
Wolfgang Huß 2021-03-22 14:25:34 +01:00
parent 5b789401bc
commit 1c78f30184

View File

@ -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,
} }