Repository navigation
Added test to get info of a specific share id - #20429
Conversation
There was a problem hiding this comment.
I'd prefer to have a more explicit validation here for all xml elements.
We can even use PyString - http://docs.behat.org/en/v2.5/guides/1.gherkin.html#pystrings - to specific the explicit xml response.
@SergioBertolinSG please let me know if you need support
There was a problem hiding this comment.
Yes please validate all elements currently there. So we know if we break the API. Now for a lot of stuff you can probably only check if they are there. Or you need to have database access in the process.
There was a problem hiding this comment.
Ok, I'll modify this to check all elements.
|
I've chosen TableNode instead of PyString, suits better to check the fields. |
Yeah that is likely to happen. Just make sure they are set in the return for now. |
|
I've added all remaining fields just checking if they have numeric values. |
|
@SergioBertolinSG awesome thanks! 👍 |
|
please squash |
|
Could you for a next PR do this for link shares? Since they have different files (token/url, possibly expiration). |
Check fields of the share response Added missing fields to check if their values are numbers
65332bc to
7aa6e9b
Compare
done 🙊 |
|
@rullzer sure. |
|
merge? |
…-get-share-by-id Added test to get info of a specific share id
|
👍 |
No description provided.