blob: 401687b413c9d0cd18c1cfd3371d9ad680a9239a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Feature: statuscodes
Background:
Given using api version "2"
Given user "test1" exists
Given As an "test1"
Scenario: Status code when reading notifications with notifiers and without notifications
When sending "GET" to "/apps/notifications/api/v1/notifications?format=json"
Then the HTTP status code should be "200"
And list of notifications has 0 entries
Scenario: Status code when reading notifications with notifiers and notification
Given user "test1" has notifications
When sending "GET" to "/apps/notifications/api/v1/notifications?format=json"
Then the HTTP status code should be "200"
And list of notifications has 1 entries
Scenario: Status code when reading notifications with notifiers and notifications
Given user "test1" has notifications
Given user "test1" has notifications
Given user "test1" has notifications
When sending "GET" to "/apps/notifications/api/v1/notifications?format=json"
Then the HTTP status code should be "200"
And list of notifications has 3 entries
|