-
Notifications
You must be signed in to change notification settings - Fork 196
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
ApiTest. new tests #5413
Comments
In the case of https://github.com/owncloud/testing/blob/6965caa176d83df8f5111aa64e91c1de34ce48e0/lib/ExpireShare.php#L43 @ScharfViktor should we go with what you initially mentioned setting the expiration date of |
Also, I couldn't determine what should be the format of the expiration date. When I send the curl request with expiration date format {"ocs":{"meta":{"status":"error","statuscode":400,"message":"could not parse expireDate"}}} If I just send the date it also gives me
This format works on the tests |
We can, but timing is not good solution. Probably we can create method-helper which will change date to yesterday. I checked and it works in ocis:
|
I don't have an answer to that question either. see #5452 |
when I tried to set the date time to yesterday (through tests) , the status code was 200 but the date wasn't changed. but i tried it with the space , I'll try it again and see how it goes. |
Hi @ScharfViktor yes it works for both resource and space. Maybe I did something wrong previously |
closed as complited |
Tags:
method
PUT /tag
method
GET /tag
user has tag and can find by tag if
he created tag
he has accepted share with tag
he is member of the project space where tag uses
he restores resource with tag from trash bin
user hasn't tag and cannot find by tag if
last tag was deleted from resource
last resource with tag was deleted
share was declined or removed
method
DELETE /tag
#5391 and #5417
Sharing space to group. Add more corner cases
Expiration date for share
https://github.com/owncloud/core/blob/9cd6e8949d910e1085edc63ff92ffdf61488bceb/tests/acceptance/features/bootstrap/Sharing.php#L4037
https://github.com/owncloud/testing/blob/master/lib/ExpireShare.php
Re-share resource with expiration date
Expiration date for share space
The text was updated successfully, but these errors were encountered: