Skip to content

[test-only][full-ci] ApiTest. share space with expiration date - #5562

Merged
individual-it merged 4 commits into
masterfrom
shareSpaceWithExpirateDate
Feb 17, 2023
Merged

individual-it merged 4 commits into
masterfrom
shareSpaceWithExpirateDate

Conversation

@v-scharf

@v-scharf v-scharf commented Feb 13, 2023 •

Copy link
Copy Markdown
Contributor
  • share space to user with different role with expiration date
  • share space to group with different role with expiration date

@update-docs

update-docs Bot commented Feb 13, 2023

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.

@ownclouders

Copy link
Copy Markdown
Contributor

💥 Acceptance test wopiValidatorTests-ocis failed. Further test are cancelled...

@v-scharf v-scharf changed the title [test-only] ApiTest. share space with expiration date [test-only][full-ci] ApiTest. share space with expiration date Feb 14, 2023

@SagarGi SagarGi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@v-scharf v-scharf added the Status:Needs-Review Needs review from a maintainer label Feb 15, 2023

@individual-it individual-it left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

there is a lot of going on in the PR, that is not related to the expiration date. Changing of formatting, change of step wordings, etc.
It would be easier for me to review if those things would be in a separate PR

Comment on lines +314 to +316
| expireDate | 2042-03-25T23:59:59+0100 |
Then the HTTP status code should be "200"
And the user "Brian" should have a space called "share space" granted to user "Brian" with role "<role>" and expiration date "2042-03-25"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

so the time and the timezone information gets removed from the send request
what happens if we send only 2042-03-25?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

we get 400 with <message>could not parse expireDate</message> #5452

I send 2042-03-25T23:59:59+0100 in the request but check only 2042-03-25 in the response

@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

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

@individual-it
individual-it merged commit 1730538 into master Feb 17, 2023
@delete-merged-branch
delete-merged-branch Bot deleted the shareSpaceWithExpirateDate branch February 17, 2023 08:18
ownclouders pushed a commit that referenced this pull request Feb 17, 2023
Author: Viktor Scharf <[email protected]>
Date:   Fri Feb 17 09:18:53 2023 +0100

    [test-only][full-ci] ApiTest. share space with expiration date (#5562)
@SwikritiT SwikritiT mentioned this pull request Feb 20, 2023
24 tasks done
@saw-jan saw-jan mentioned this pull request Feb 28, 2023
2 of 9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status:Needs-Review Needs review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants