Skip to content

Commit

Permalink
fix(cy): adjust share test to api change
Browse files Browse the repository at this point in the history
`enabled` is now `value`.
See nextcloud/server#46007.

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed Jul 18, 2024
1 parent 4ca7cbe commit 768c3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/share.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('Open test.md in viewer', function() {

it('Share a file with download disabled shows an error', function() {
cy.shareFileToUser('test.md', recipient, {
attributes: '[{"scope":"permissions","key":"download","enabled":false}]',
attributes: '[{"scope":"permissions","key":"download","value":false}]',
}).then(() => {
cy.login(recipient)
cy.visit('/apps/files')
Expand Down

0 comments on commit 768c3a9

Please sign in to comment.