Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests-only] add API test coverage for trying to search with invalid pattern #8441

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

saw-jan
Copy link
Member

@saw-jan saw-jan commented Feb 13, 2024

Description

Added API test coverage for trying to search items with invalid search pattern.

Related Issue

Part of #8440
Coverage for:

Motivation and Context

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • 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:

@saw-jan saw-jan self-assigned this Feb 13, 2024
Comment on lines -21 to -24
Scenario Outline: user can find data from the project space
Given using <dav-path-version> DAV path
When user "Alice" searches for "*fol*" using the WebDAV API
Then the HTTP status code should be "207"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should cover by the scenario below

Given using <dav-path-version> DAV path
And user "Alice" has created a share inside of space "find data" with settings:
And user "Alice" has created a share inside of space "project101" with settings:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for clarity

@saw-jan saw-jan force-pushed the tests/test-coverage-7815 branch from 919e393 to 31d5d60 Compare February 13, 2024 10:14
@saw-jan saw-jan marked this pull request as ready for review February 13, 2024 10:14
@saw-jan saw-jan force-pushed the tests/test-coverage-7815 branch from 31d5d60 to acbe3b2 Compare February 14, 2024 04:02
Copy link

sonarcloud bot commented Feb 14, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@saw-jan saw-jan merged commit c7b50b4 into master Feb 14, 2024
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the tests/test-coverage-7815 branch February 14, 2024 04:59
ownclouders pushed a commit that referenced this pull request Feb 14, 2024
…pattern (#8441)

* test(api): test coverage for invalid search pattern

* test(api): fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants