diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-18 14:59:45 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-18 14:59:45 +0300 |
commit | bfb0166a2531eee4fdbfff9247cc37d6ee4e15fa (patch) | |
tree | b0a2473ad635c623eb20fd44b990cd2edf7ffeb8 | |
parent | ac8444204c50049cc55d02bf88e66f10f811b49c (diff) |
Make the test implicit
-rw-r--r-- | tests/integration/features/notifications.feature | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/tests/integration/features/notifications.feature b/tests/integration/features/notifications.feature index 44b1f8f..bf456e6 100644 --- a/tests/integration/features/notifications.feature +++ b/tests/integration/features/notifications.feature @@ -2,20 +2,11 @@ Feature: notifications Background: Given using api version "1" - Scenario: Create test user - Given As an "admin" - And user "test1" does not exist - When sending "POST" to "/cloud/users" with - | userid | test1 | - | password | 123456 | - Then the OCS status code should be "100" - And the HTTP status code should be "200" - And user "test1" exists - - Scenario: Creating a new notification + Scenario: Read notifications without Notifiers + Given user "test1" exists Given As an "test1" When sending "GET" to "/notifications/v1" Then the HTTP status code should be "200" - # 204 No Content - Because there is no notifier + # "204 No Content" - Because there is no notifier And the OCS status code should be "204" |