Skip to content

Commit

Permalink
Merge pull request #5316 from nextcloud/renovate/main-nextcloud-route…
Browse files Browse the repository at this point in the history
…r-2.x

fix(deps): update dependency @nextcloud/router to ^2.2.1 (main)
  • Loading branch information
github-actions[bot] authored Jan 31, 2024
2 parents 9c6cb8c + 1d04855 commit 45290ea
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 14 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/api/SessionApi.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe('The session Api', function() {
config: { modRewriteWorking: false },
webroot: '',
}
window._oc_webroot = ''
})

beforeEach(function() {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/api/SyncServiceProvider.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ describe('Sync service provider', function() {
cy.createUser(user)
window.OC = {
config: { modRewriteWorking: false },
webroot: '',
}
window._oc_webroot = ''
})

beforeEach(function() {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/api/UsersApi.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe('The user mention API', function() {
cy.createUser(user)
window.OC = {
config: { modRewriteWorking: false },
webroot: '',
}
window._oc_webroot = ''
})

let fileId
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
return string
}
OC = {
webroot: '/dist/OC_WEBROOT',
config: {},
isUserAdmin() {
return true
}
}
_oc_webroot = '/dist/OC_WEBROOT'
</script>
<script type="module">
import { RichTextReader, AttachmentResolver, ATTACHMENT_RESOLVER } from './src/package.js'
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@nextcloud/l10n": "^2.2.0",
"@nextcloud/logger": "^2.7.0",
"@nextcloud/moment": "^1.3.1",
"@nextcloud/router": "^2.2.0",
"@nextcloud/router": "^2.2.1",
"@nextcloud/vue": "^8.6.0",
"@quartzy/markdown-it-mentions": "^0.2.0",
"@tiptap/core": "^2.1.13",
Expand Down
3 changes: 2 additions & 1 deletion src/tests/helpers/links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ global.OCA = {

global.OC = {
config: {modRewriteWorking: true},
webroot: ''
}

global._oc_webroot = ''

describe('Preparing href attributes for the DOM', () => {

test('leave empty hrefs alone', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jest.mock('@nextcloud/dialogs', () => ({

global.OC = {
requestToken: '123',
webroot: '/nc-webroot',
coreApps: [
'core',
],
Expand All @@ -74,6 +73,7 @@ global.OC = {
}
}

global._oc_webroot = '/nc-webroot'
global.OCA = {}


Expand Down

0 comments on commit 45290ea

Please sign in to comment.