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][full-ci] Backport test for set quota for differnt users #5933

Merged

Conversation

PrajwolAmatya
Copy link
Contributor

Description

This PR backport PR #5854

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

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:

Copy link
Member

@SagarGi SagarGi left a comment

Choose a reason for hiding this comment

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

LGTM 👍 if CI is green

@saw-jan
Copy link
Member

saw-jan commented Mar 27, 2023

Space Admin tests: https://drone.owncloud.com/owncloud/ocis/20854/46/5

Scenario Outline: non-admin user tries to set the personal space quota of other users

Examples:
      | role        | userRole    |
      | Space Admin | Admin       |
        Failed step: Then the HTTP status code should be "401"
        HTTP status code 200 is not the expected value 401
        Failed asserting that 200 matches expected '401'.
      | Space Admin | Space Admin |
        Failed step: Then the HTTP status code should be "401"
        HTTP status code 200 is not the expected value 401
        Failed asserting that 200 matches expected '401'.
      | Space Admin | User        |
        Failed step: Then the HTTP status code should be "401"
        HTTP status code 200 is not the expected value 401
        Failed asserting that 200 matches expected '401'.
      | Space Admin | Guest       |
        Failed step: Then the HTTP status code should be "401"
        HTTP status code 200 is not the expected value 401
        Failed asserting that 200 matches expected '401'.

@PrajwolAmatya PrajwolAmatya force-pushed the backport-test-for-set-quota-for-differnt-users branch from 6273a63 to e0f4de9 Compare March 28, 2023 03:30
@PrajwolAmatya PrajwolAmatya requested a review from saw-jan March 28, 2023 03:34
@PrajwolAmatya PrajwolAmatya force-pushed the backport-test-for-set-quota-for-differnt-users branch from e0f4de9 to 338dcb7 Compare March 28, 2023 04:10
@PrajwolAmatya PrajwolAmatya force-pushed the backport-test-for-set-quota-for-differnt-users branch from 338dcb7 to 348850e Compare March 28, 2023 06:01
@sonarqubecloud
Copy link

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

No Coverage information No Coverage information
No Duplication information No Duplication information

@phil-davis phil-davis merged commit 40a6d56 into stable-2.0 Mar 28, 2023
@delete-merged-branch delete-merged-branch bot deleted the backport-test-for-set-quota-for-differnt-users branch March 28, 2023 06:57
ownclouders pushed a commit that referenced this pull request Mar 28, 2023
…r-differnt-users

[tests-only][full-ci] Backport test for set quota for differnt users
ownclouders pushed a commit that referenced this pull request Mar 29, 2023
…r-differnt-users

[tests-only][full-ci] Backport test for set quota for differnt users
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.

4 participants