@@ -17,7 +17,7 @@ Feature: Interacting with the REST API for groups
17
17
"""
18
18
And the returned data has proterties with the following data
19
19
| property | value |
20
- | id | 4 |
20
+ | id | 5 |
21
21
| name | Test Group |
22
22
23
23
Scenario : Listing of zero groups
@@ -52,7 +52,7 @@ Feature: Interacting with the REST API for groups
52
52
"""
53
53
And the returned data "groups.0" property contains the following data
54
54
| property | value |
55
- | id | 4 |
55
+ | id | 5 |
56
56
| name | Test Group |
57
57
58
58
Scenario : Listing names of all groups
@@ -69,16 +69,16 @@ Feature: Interacting with the REST API for groups
69
69
And the returned data contains "5" items
70
70
And the returned data contains the following data
71
71
| property | value |
72
- | 4 | Test Group D |
73
- | 5 | Test Group E |
74
- | 6 | Test Group C |
75
- | 7 | Test Group B |
76
- | 8 | Test Group A |
72
+ | 5 | Test Group D |
73
+ | 6 | Test Group E |
74
+ | 7 | Test Group C |
75
+ | 8 | Test Group B |
76
+ | 9 | Test Group A |
77
77
78
78
Scenario : Showing a specific group
79
79
Given I have a "NativeCurlClient" client
80
80
And I create a group with name "Test Group"
81
- When I show the group with id "4 "
81
+ When I show the group with id "5 "
82
82
Then the response has the status code "200"
83
83
And the response has the content type "application/json"
84
84
And the returned data has only the following properties
@@ -93,7 +93,7 @@ Feature: Interacting with the REST API for groups
93
93
"""
94
94
And the returned data "group" property contains the following data
95
95
| property | value |
96
- | id | 4 |
96
+ | id | 5 |
97
97
| name | Test Group |
98
98
99
99
@error
@@ -110,7 +110,7 @@ Feature: Interacting with the REST API for groups
110
110
And I create a group with the following data
111
111
| property | value |
112
112
| name | Test Group |
113
- When I update the group with id "4 " with the following data
113
+ When I update the group with id "5 " with the following data
114
114
| property | value |
115
115
| name | new group name |
116
116
Then the response has the status code "204"
@@ -121,7 +121,7 @@ Feature: Interacting with the REST API for groups
121
121
Scenario : Adding an user to a group
122
122
Given I have a "NativeCurlClient" client
123
123
And I create a group with name "Test Group"
124
- When I add the user with id "1" to the group with id "4 "
124
+ When I add the user with id "1" to the group with id "5 "
125
125
Then the response has the status code "204"
126
126
And the response has an empty content type
127
127
And the response has the content ""
@@ -130,8 +130,8 @@ Feature: Interacting with the REST API for groups
130
130
Scenario : Removing an user from a group
131
131
Given I have a "NativeCurlClient" client
132
132
And I create a group with name "Test Group"
133
- And I add the user with id "1" to the group with id "4 "
134
- When I remove the user with id "1" from the group with id "4 "
133
+ And I add the user with id "1" to the group with id "5 "
134
+ When I remove the user with id "1" from the group with id "5 "
135
135
Then the response has the status code "204"
136
136
And the response has an empty content type
137
137
And the response has the content ""
@@ -140,7 +140,7 @@ Feature: Interacting with the REST API for groups
140
140
Scenario : Deleting a group
141
141
Given I have a "NativeCurlClient" client
142
142
And I create a group with name "Test Group"
143
- When I remove the group with id "4 "
143
+ When I remove the group with id "5 "
144
144
Then the response has the status code "204"
145
145
And the response has an empty content type
146
146
And the response has the content ""
0 commit comments