diff options
author | Jonas Meurer <jonas@freesources.org> | 2021-10-19 10:56:07 +0200 |
---|---|---|
committer | Jonas Meurer <jonas@freesources.org> | 2021-10-25 11:37:44 +0200 |
commit | e838e63b8872a0f67443a6086a2e0e415da3c8cb (patch) | |
tree | f6aed93a3599172065b10cb5935cf44ea5cf2f92 /build/integration/collaboration_features | |
parent | 02ce5c8f7d4f27d31acbab37fe539215585c6fe8 (diff) | |
download | nextcloud-server-e838e63b8872a0f67443a6086a2e0e415da3c8cb.tar.gz nextcloud-server-e838e63b8872a0f67443a6086a2e0e415da3c8cb.zip |
Add integration tests for user_status API
Signed-off-by: Jonas Meurer <jonas@freesources.org>
Diffstat (limited to 'build/integration/collaboration_features')
-rw-r--r-- | build/integration/collaboration_features/user_status.feature | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build/integration/collaboration_features/user_status.feature b/build/integration/collaboration_features/user_status.feature new file mode 100644 index 00000000000..759d6e31795 --- /dev/null +++ b/build/integration/collaboration_features/user_status.feature @@ -0,0 +1,20 @@ +Feature: user_status + Background: + Given using api version "2" + And user "user0" exists + And user "user0" has status "dnd" + + Scenario: listing recent user statuses with default settings + Then user statuses for "admin" list "user0" with status "dnd" + + Scenario: empty recent user statuses with disabled/limited user enumeration + When parameter "shareapi_allow_share_dialog_user_enumeration" of app "core" is set to "no" + Then user statuses for "admin" are empty + When parameter "shareapi_allow_share_dialog_user_enumeration" of app "core" is set to "yes" + When parameter "shareapi_restrict_user_enumeration_to_group" of app "core" is set to "yes" + Then user statuses for "admin" are empty + When parameter "shareapi_restrict_user_enumeration_to_group" of app "core" is set to "no" + When parameter "shareapi_restrict_user_enumeration_to_phone" of app "core" is set to "yes" + Then user statuses for "admin" are empty + When parameter "shareapi_restrict_user_enumeration_to_phone" of app "core" is set to "no" + Then user statuses for "admin" list "user0" with status "dnd" |