Skip to content

[WIP] Fix shareAccessByID tests - #39872

Closed
phil-davis wants to merge 2 commits into
masterfrom
issue-39868
Closed

phil-davis wants to merge 2 commits into
masterfrom
issue-39868

Conversation

@phil-davis

@phil-davis phil-davis commented Mar 12, 2022 •

Copy link
Copy Markdown
Contributor

Description

  1. run acceptance tests with pgsql 10.20 to demonstrate the problem
  2. throw ShareNotFound when share id is not an integer to fix the problem

Related Issue

Issue #39868

How Has This Been Tested?

CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@phil-davis phil-davis self-assigned this Mar 12, 2022
@update-docs

update-docs Bot commented Mar 12, 2022

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@phil-davis

Copy link
Copy Markdown
Contributor Author

https://drone.owncloud.com/owncloud/core/34905/70/13

runsh: Total unexpected failed scenarios throughout the test run:
apiShareOperationsToShares2/shareAccessByID.feature:50
apiShareOperationsToShares2/shareAccessByID.feature:51
apiShareOperationsToShares2/shareAccessByID.feature:52
apiShareOperationsToShares2/shareAccessByID.feature:53

The expected scenarios fail without the fix.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

75.0% 75.0% Coverage
0.0% 0.0% Duplication

@phil-davis

Copy link
Copy Markdown
Contributor Author

Passes with the 2nd commit - that fixes the problem.

@phil-davis

Copy link
Copy Markdown
Contributor Author

See #39783

@phil-davis phil-davis closed this Mar 12, 2022
@phil-davis
phil-davis deleted the issue-39868 branch March 12, 2022 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant