diff --git a/cypress/fixtures/acme.png b/cypress/fixtures/acme.png deleted file mode 100644 index d423cd8b2..000000000 Binary files a/cypress/fixtures/acme.png and /dev/null differ diff --git a/cypress/fixtures/demo.png b/cypress/fixtures/demo.png new file mode 100644 index 000000000..46f7417b0 Binary files /dev/null and b/cypress/fixtures/demo.png differ diff --git a/cypress/fixtures/acme.png.license b/cypress/fixtures/demo.png.license similarity index 100% rename from cypress/fixtures/acme.png.license rename to cypress/fixtures/demo.png.license diff --git a/cypress/integration/fileUpload.spec.ts b/cypress/integration/fileUpload.spec.ts index f8ea47132..e3ae96480 100644 --- a/cypress/integration/fileUpload.spec.ts +++ b/cypress/integration/fileUpload.spec.ts @@ -44,13 +44,13 @@ describe('File upload', () => { cy.get('.fa-upload') .click() cy.get('div.btn-group > input[type=file]') - .attachFile({ filePath: 'acme.png', mimeType: 'image/png' }) + .attachFile({ filePath: 'demo.png', mimeType: 'image/png' }) cy.get('.CodeMirror-activeline > .CodeMirror-line > span') .should('have.text', `![](${ imageUrl })`) }) it('via paste', () => { - cy.fixture('acme.png') + cy.fixture('demo.png') .then((image: string) => { const pasteEvent = { clipboardData: { @@ -65,7 +65,7 @@ describe('File upload', () => { }) it('via drag and drop', () => { - cy.fixture('acme.png') + cy.fixture('demo.png') .then((image: string) => { const dropEvent = { dataTransfer: { @@ -92,10 +92,10 @@ describe('File upload', () => { }) cy.get('.fa-upload') .click() - cy.fixture('acme.png') + cy.fixture('demo.png') .then(() => { cy.get('input[type=file]') - .attachFile({ filePath: 'acme.png', mimeType: 'image/png' }) + .attachFile({ filePath: 'demo.png', mimeType: 'image/png' }) }) cy.get('.CodeMirror-activeline > .CodeMirror-line > span > span') .should('have.text', String.fromCharCode(8203)) //thanks codemirror.... diff --git a/cypress/support/config.ts b/cypress/support/config.ts index a8fd9f391..920867717 100644 --- a/cypress/support/config.ts +++ b/cypress/support/config.ts @@ -16,8 +16,8 @@ export const banner = { } export const branding = { - name: 'ACME Corp', - logo: '/img/acme.png' + name: 'DEMO Corp', + logo: '/img/demo.png' } export const authProviders = { diff --git a/public/api/v2/config b/public/api/v2/config index fc8d19e49..72385e68e 100644 --- a/public/api/v2/config +++ b/public/api/v2/config @@ -15,8 +15,8 @@ }, "allowRegister": true, "branding": { - "name": "ACME Corp", - "logo": "/img/acme.png" + "name": "DEMO Corp", + "logo": "/img/demo.png" }, "banner": { "text": "This is the test banner text", diff --git a/public/img/acme.png b/public/img/acme.png deleted file mode 100644 index d423cd8b2..000000000 Binary files a/public/img/acme.png and /dev/null differ diff --git a/public/img/demo.png b/public/img/demo.png new file mode 100644 index 000000000..46f7417b0 Binary files /dev/null and b/public/img/demo.png differ diff --git a/public/img/demo.png.license b/public/img/demo.png.license new file mode 100644 index 000000000..078e5a9ac --- /dev/null +++ b/public/img/demo.png.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file) + +SPDX-License-Identifier: CC0-1.0