Add api test to delete the expiration date from a share subitem of space (#5537)

This commit is contained in:
Swikriti Tripathi authored and Phil Davis committed 2023-03-06 12:43:17 +05:45
1 parent 8998719133
commit ff95ee1f97
1 file changed
+14
@@ -132,3 +132,17 @@ Feature: Share a file or folder that is inside a space
Then the HTTP status code should be "200"
And the information about the last share for user "Brian" should include
| expiration | 2044-01-01 |
Scenario: A user deletes the expiration date
Given user "Alice" has created a share inside of space "share sub-item" with settings:
| path | folder |
| shareWith | Brian |
| role | viewer |
| expireDate | 2042-01-01T23:59:59+0100 |
And user "Brian" has accepted share "/folder" offered by user "Alice"
When user "Alice" changes the last share with settings:
| expireDate | |
Then the HTTP status code should be "200"
And the information about the last share for user "Brian" should include
| expiration | |