mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 08:04:45 -04:00
Change api route to /api/private (#1189)
This commit is contained in:
parent
344304f329
commit
29d9d49f5a
20 changed files with 11 additions and 11 deletions
|
@ -31,7 +31,7 @@ describe('File upload', () => {
|
|||
beforeEach(() => {
|
||||
cy.intercept({
|
||||
method: 'POST',
|
||||
url: '/api/v2/media/upload'
|
||||
url: '/api/private/media/upload'
|
||||
}, {
|
||||
statusCode: 201,
|
||||
body: {
|
||||
|
@ -86,7 +86,7 @@ describe('File upload', () => {
|
|||
it('upload fails', () => {
|
||||
cy.intercept({
|
||||
method: 'POST',
|
||||
url: '/api/v2/media/upload'
|
||||
url: '/api/private/media/upload'
|
||||
}, {
|
||||
statusCode: 400
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue