Skip to content

Commit 067e4b2

Browse files
committed
Remove behat test cases for Redmine < 5.0.0
1 parent 4e2f11b commit 067e4b2

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

tests/Behat/features/issue.feature

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,26 +77,17 @@ Feature: Interacting with the REST API for issues
7777
And the returned data "status" property is an array
7878
And the returned data "status" property contains "1" items
7979
And the returned data "status.@attributes" property is an array
80-
And the returned data "status.@attributes" property has only the following properties with Redmine version ">= 5.0.0"
80+
And the returned data "status.@attributes" property has only the following properties
8181
"""
8282
id
8383
name
8484
is_closed
8585
"""
86-
But the returned data "status.@attributes" property has only the following properties with Redmine version "< 5.0.0"
87-
"""
88-
id
89-
name
90-
"""
91-
And the returned data "status.@attributes" property contains the following data with Redmine version ">= 5.0.0"
86+
And the returned data "status.@attributes" property contains the following data
9287
| property | value |
9388
| id | 1 |
9489
| name | New |
9590
| is_closed | false |
96-
But the returned data "status.@attributes" property contains the following data with Redmine version "< 5.0.0"
97-
| property | value |
98-
| id | 1 |
99-
| name | New |
10091
And the returned data "priority" property is an array
10192
And the returned data "priority" property contains "1" items
10293
And the returned data "priority.@attributes" property is an array

tests/Behat/features/tracker.feature

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,14 @@ Feature: Interacting with the REST API for trackers
3131
And the returned data "trackers" property is an array
3232
And the returned data "trackers" property contains "2" items
3333
And the returned data "trackers.0" property is an array
34-
And the returned data "trackers.0" property has only the following properties with Redmine version ">= 5.0.0"
34+
And the returned data "trackers.0" property has only the following properties
3535
"""
3636
id
3737
name
3838
default_status
3939
description
4040
enabled_standard_fields
4141
"""
42-
But the returned data "trackers.0" property has only the following properties with Redmine version "< 5.0.0"
43-
"""
44-
id
45-
name
46-
default_status
47-
description
48-
"""
4942
And the returned data "trackers.0" property contains the following data
5043
| property | value |
5144
| id | 1 |

0 commit comments

Comments
 (0)