@@ -120,7 +120,7 @@ Feature: Interacting with the REST API for users
120120 And the returned data "users" property is an array
121121 And the returned data "users" property contains "2" items
122122 And the returned data "users.0" property is an array
123- And the returned data "users.0" property has only the following properties
123+ And the returned data "users.0" property has only the following properties with Redmine version ">= 6.0.0"
124124 """
125125 id
126126 login
@@ -133,8 +133,33 @@ Feature: Interacting with the REST API for users
133133 last_login_on
134134 passwd_changed_on
135135 twofa_scheme
136+ status
137+ """
138+ But the returned data "users.0" property has only the following properties with Redmine version "< 6.0.0"
136139 """
137- And the returned data "users.0" property contains the following data
140+ id
141+ login
142+ admin
143+ firstname
144+ lastname
145+ mail
146+ created_on
147+ updated_on
148+ last_login_on
149+ passwd_changed_on
150+ twofa_scheme
151+ """
152+ And the returned data "users.0" property contains the following data with Redmine version ">= 6.0.0"
153+ | property | value |
154+ | id | 1 |
155+ | login | admin |
156+ | admin | true |
157+ | firstname | Redmine |
158+ | lastname | Admin |
159+ | mail | admin @example .net |
160+ | twofa_scheme | null |
161+ | status | 1 |
162+ But the returned data "users.0" property contains the following data with Redmine version "< 6.0.0"
138163 | property | value |
139164 | id | 1 |
140165 | login | admin |
@@ -144,7 +169,7 @@ Feature: Interacting with the REST API for users
144169 | mail | admin @example .net |
145170 | twofa_scheme | null |
146171 And the returned data "users.1" property is an array
147- And the returned data "users.1" property has only the following properties
172+ And the returned data "users.1" property has only the following properties with Redmine version ">= 6.0.0"
148173 """
149174 id
150175 login
@@ -157,8 +182,33 @@ Feature: Interacting with the REST API for users
157182 last_login_on
158183 passwd_changed_on
159184 twofa_scheme
185+ status
186+ """
187+ But the returned data "users.1" property has only the following properties with Redmine version "< 6.0.0"
160188 """
161- And the returned data "users.1" property contains the following data
189+ id
190+ login
191+ admin
192+ firstname
193+ lastname
194+ mail
195+ created_on
196+ updated_on
197+ last_login_on
198+ passwd_changed_on
199+ twofa_scheme
200+ """
201+ And the returned data "users.1" property contains the following data with Redmine version ">= 6.0.0"
202+ | property | value |
203+ | id | 5 |
204+ | login | username |
205+ | admin | false |
206+ | firstname | first |
207+ | lastname | last |
208+ | mail | mail @example .net |
209+ | twofa_scheme | null |
210+ | status | 1 |
211+ And the returned data "users.1" property contains the following data with Redmine version "< 6.0.0"
162212 | property | value |
163213 | id | 5 |
164214 | login | username |
0 commit comments