aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-04-26 10:05:04 +0200
committerJoas Schilling <coding@schilljs.com>2023-04-26 10:05:04 +0200
commit41fc6787bc89c006def08ef833d7f458eb2af59d (patch)
treec50a7a9187a23c942f6c866571a03fed0c41fea0 /build
parent1c0aae9c54a01c33cb32373b8a455b932ec25829 (diff)
downloadnextcloud-server-41fc6787bc89c006def08ef833d7f458eb2af59d.tar.gz
nextcloud-server-41fc6787bc89c006def08ef833d7f458eb2af59d.zip
fix(tests): Fix new integration tests
The integration tests are not isolated, so we can not reuse previously used data Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/provisioning-v1.feature26
1 files changed, 13 insertions, 13 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature
index e6a570694b4..5ba6b7f63dd 100644
--- a/build/integration/features/provisioning-v1.feature
+++ b/build/integration/features/provisioning-v1.feature
@@ -212,13 +212,13 @@ Feature: provisioning
And the HTTP status code should be "200"
And sending "PUT" to "/cloud/users/brand-new-user" with
| key | additional_mail |
- | value | no.reply@nextcloud.com |
+ | value | no.reply2@nextcloud.com |
And the OCS status code should be "100"
And the HTTP status code should be "200"
# Duplicating another additional address
And sending "PUT" to "/cloud/users/brand-new-user" with
| key | additional_mail |
- | value | no.reply@nextcloud.com |
+ | value | no.reply2@nextcloud.com |
And the OCS status code should be "102"
And the HTTP status code should be "200"
Then user "brand-new-user" has
@@ -236,21 +236,21 @@ Feature: provisioning
And As an "brand-new-user"
When sending "PUT" to "/cloud/users/brand-new-user" with
| key | additional_mail |
- | value | no.reply@nextcloud.com |
+ | value | no.reply3@nextcloud.com |
And the OCS status code should be "100"
And the HTTP status code should be "200"
And sending "PUT" to "/cloud/users/brand-new-user" with
| key | additional_mail |
- | value | noreply@nextcloud.com |
+ | value | noreply4@nextcloud.com |
And the OCS status code should be "100"
And the HTTP status code should be "200"
When sending "PUT" to "/cloud/users/brand-new-user/additional_mailScope" with
- | key | no.reply@nextcloud.com |
+ | key | no.reply3@nextcloud.com |
| value | v2-federated |
Then the OCS status code should be "100"
And the HTTP status code should be "200"
When sending "PUT" to "/cloud/users/brand-new-user/additional_mailScope" with
- | key | noreply@nextcloud.com |
+ | key | noreply4@nextcloud.com |
| value | v2-published |
Then the OCS status code should be "100"
And the HTTP status code should be "200"
@@ -282,11 +282,11 @@ Feature: provisioning
And As an "brand-new-user"
When sending "PUT" to "/cloud/users/brand-new-user" with
| key | additional_mail |
- | value | no.reply@nextcloud.com |
+ | value | no.reply5@nextcloud.com |
And the OCS status code should be "100"
And the HTTP status code should be "200"
When sending "PUT" to "/cloud/users/brand-new-user/additional_mailScope" with
- | key | no.reply@nextcloud.com |
+ | key | no.reply5@nextcloud.com |
| value | invalid |
Then the OCS status code should be "102"
And the HTTP status code should be "200"
@@ -296,23 +296,23 @@ Feature: provisioning
And As an "brand-new-user"
When sending "PUT" to "/cloud/users/brand-new-user" with
| key | additional_mail |
- | value | no.reply@nextcloud.com |
+ | value | no.reply6@nextcloud.com |
And the OCS status code should be "100"
And the HTTP status code should be "200"
And sending "PUT" to "/cloud/users/brand-new-user" with
| key | additional_mail |
- | value | noreply@nextcloud.com |
+ | value | noreply7@nextcloud.com |
And the OCS status code should be "100"
And the HTTP status code should be "200"
When sending "PUT" to "/cloud/users/brand-new-user/additional_mail" with
- | key | no.reply@nextcloud.com |
+ | key | no.reply6@nextcloud.com |
| value | |
And the OCS status code should be "100"
And the HTTP status code should be "200"
Then user "brand-new-user" has
- | additional_mail | noreply@nextcloud.com |
+ | additional_mail | noreply7@nextcloud.com |
Then user "brand-new-user" has not
- | additional_mail | no.reply@nextcloud.com |
+ | additional_mail | no.reply6@nextcloud.com |
Scenario: An admin cannot edit user account property scopes
Given As an "admin"