From bfb0166a2531eee4fdbfff9247cc37d6ee4e15fa Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 18 Nov 2015 12:59:45 +0100 Subject: Make the test implicit --- tests/integration/features/notifications.feature | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'tests') 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" -- cgit v1.2.3