mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-30 11:29:57 -05:00
28600d6508
* Change copyright year from 2020 to 2021 Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> * Change copyright year in jetbrains copyright template Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
55 lines
1.2 KiB
TypeScript
55 lines
1.2 KiB
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export const banner = {
|
|
text: 'This is the mock banner call',
|
|
timestamp: '2020-05-22T20:46:08.962Z'
|
|
}
|
|
|
|
export const branding = {
|
|
name: 'ACME Corp',
|
|
logo: '/img/acme.png'
|
|
}
|
|
|
|
beforeEach(() => {
|
|
cy.intercept('/api/v2/config', {
|
|
statusCode: 200,
|
|
body: {
|
|
allowAnonymous: true,
|
|
authProviders: {
|
|
facebook: true,
|
|
github: true,
|
|
twitter: true,
|
|
gitlab: true,
|
|
dropbox: true,
|
|
ldap: true,
|
|
google: true,
|
|
saml: true,
|
|
oauth2: true,
|
|
email: true,
|
|
openid: true
|
|
},
|
|
branding: branding,
|
|
banner: banner,
|
|
customAuthNames: {
|
|
ldap: 'FooBar',
|
|
oauth2: 'Olaf2',
|
|
saml: 'aufSAMLn.de'
|
|
},
|
|
maxDocumentLength: 200,
|
|
specialLinks: {
|
|
privacy: 'https://example.com/privacy',
|
|
termsOfUse: 'https://example.com/termsOfUse',
|
|
imprint: 'https://example.com/imprint'
|
|
},
|
|
version: {
|
|
version: 'mock',
|
|
sourceCodeUrl: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
issueTrackerUrl: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'
|
|
}
|
|
}
|
|
})
|
|
})
|