Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-11-18 14:59:45 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2015-11-18 14:59:45 +0300
commitbfb0166a2531eee4fdbfff9247cc37d6ee4e15fa (patch)
treeb0a2473ad635c623eb20fd44b990cd2edf7ffeb8 /tests
parentac8444204c50049cc55d02bf88e66f10f811b49c (diff)
Make the test implicit
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/notifications.feature15
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"