mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-21 18:55:19 -04:00
changed calls to cy.route to cy.intercept (#806)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
bc7ff07256
commit
e0dbb05572
5 changed files with 87 additions and 49 deletions
|
@ -15,10 +15,9 @@ export const branding = {
|
|||
}
|
||||
|
||||
beforeEach(() => {
|
||||
cy.server()
|
||||
cy.route({
|
||||
url: '/api/v2/config',
|
||||
response: {
|
||||
cy.intercept('/api/v2/config', {
|
||||
statusCode: 200,
|
||||
body: {
|
||||
allowAnonymous: true,
|
||||
authProviders: {
|
||||
facebook: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue