From afd3a09e1236e374f9f88a010cd667f1ee9cbb9b Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 7 Jun 2019 10:03:40 +0545 Subject: [PATCH] Adjust create user steps --- .../apiNotifications/delete-notifications.feature | 2 +- .../apiNotifications/email-notifications.feature | 2 +- .../apiNotifications/notifications-content.feature | 2 +- .../features/apiNotifications/statuscodes.feature | 2 +- .../cliNotifications/sendNotifications.feature | 10 +++++----- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/acceptance/features/apiNotifications/delete-notifications.feature b/tests/acceptance/features/apiNotifications/delete-notifications.feature index 81cfa68e..6bbf133b 100644 --- a/tests/acceptance/features/apiNotifications/delete-notifications.feature +++ b/tests/acceptance/features/apiNotifications/delete-notifications.feature @@ -2,7 +2,7 @@ Feature: delete-notifications Background: - Given user "test1" has been created with default attributes + Given user "test1" has been created with default attributes and skeleton files And using OCS API version "2" Scenario: Delete first notification diff --git a/tests/acceptance/features/apiNotifications/email-notifications.feature b/tests/acceptance/features/apiNotifications/email-notifications.feature index 053ccb23..cb0b6434 100644 --- a/tests/acceptance/features/apiNotifications/email-notifications.feature +++ b/tests/acceptance/features/apiNotifications/email-notifications.feature @@ -2,7 +2,7 @@ Feature: notifications-content Background: - Given user "user1" has been created with default attributes + Given user "user1" has been created with default attributes and skeleton files And using OCS API version "2" Scenario: Create notification diff --git a/tests/acceptance/features/apiNotifications/notifications-content.feature b/tests/acceptance/features/apiNotifications/notifications-content.feature index aa58b001..7b84a2ed 100644 --- a/tests/acceptance/features/apiNotifications/notifications-content.feature +++ b/tests/acceptance/features/apiNotifications/notifications-content.feature @@ -2,7 +2,7 @@ Feature: notifications-content Background: - Given user "test1" has been created with default attributes + Given user "test1" has been created with default attributes and skeleton files And using OCS API version "2" Scenario: Create notification diff --git a/tests/acceptance/features/apiNotifications/statuscodes.feature b/tests/acceptance/features/apiNotifications/statuscodes.feature index a9a25e79..539c1b8d 100644 --- a/tests/acceptance/features/apiNotifications/statuscodes.feature +++ b/tests/acceptance/features/apiNotifications/statuscodes.feature @@ -2,7 +2,7 @@ Feature: statuscodes Background: - Given user "test1" has been created with default attributes + Given user "test1" has been created with default attributes and skeleton files And as user "test1" And using OCS API version "2" diff --git a/tests/acceptance/features/cliNotifications/sendNotifications.feature b/tests/acceptance/features/cliNotifications/sendNotifications.feature index fd452ca3..be844176 100644 --- a/tests/acceptance/features/cliNotifications/sendNotifications.feature +++ b/tests/acceptance/features/cliNotifications/sendNotifications.feature @@ -6,7 +6,7 @@ Feature: send notifications using the occ command So that I can inform them about the necessary things Scenario: administrator should be able to send a notification with subject and message to a user - Given user "user0" has been created with default attributes + Given user "user0" has been created with default attributes and skeleton files When the administrator sends following notifications using the occ command | subject | message | user | | Quota updated | Congratulations your oC quota has been increased | user0 | @@ -17,7 +17,7 @@ Feature: send notifications using the occ command | message | Congratulations your oC quota has been increased | Scenario: administrator should be able to send a notification with a link - Given user "user0" has been created with default attributes + Given user "user0" has been created with default attributes and skeleton files When the administrator sends following notifications using the occ command | subject | message | user | link | | Quota updated | Congratulations your oC quota has been increased | user0 | https://owncloud.org/blog/about-activities-and-notifications-in-owncloud/ | @@ -29,7 +29,7 @@ Feature: send notifications using the occ command | link | https://owncloud.org/blog/about-activities-and-notifications-in-owncloud/ | Scenario: administrator should be able to send a notification with only the subject to a user - Given user "user0" has been created with default attributes + Given user "user0" has been created with default attributes and skeleton files When the administrator sends following notifications using the occ command | subject | user | | Quota updated | user0 | @@ -56,7 +56,7 @@ Feature: send notifications using the occ command And user "user2" should have 0 notification Scenario: administrator should be able to send a notification with subject and message to a group - Given user "user0" has been created with default attributes + Given user "user0" has been created with default attributes and skeleton files And group "grp1" has been created And user "user0" has been added to group "grp1" When the administrator sends following notifications using the occ command @@ -69,7 +69,7 @@ Feature: send notifications using the occ command | message | Congratulations your oC quota has been increased | Scenario: administrator sends more than one notifications to a user - Given user "user0" has been created with default attributes + Given user "user0" has been created with default attributes and skeleton files When the administrator sends following notifications using the occ command | subject | message | user | | Quota updated | Congratulations your oC quota has been increased | user0 |