Skip to content

Commit

Permalink
Remove behat test cases for Redmine < 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Jan 20, 2025
1 parent 4e2f11b commit 067e4b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
13 changes: 2 additions & 11 deletions tests/Behat/features/issue.feature
Original file line number Diff line number Diff line change
Expand Up @@ -77,26 +77,17 @@ Feature: Interacting with the REST API for issues
And the returned data "status" property is an array
And the returned data "status" property contains "1" items
And the returned data "status.@attributes" property is an array
And the returned data "status.@attributes" property has only the following properties with Redmine version ">= 5.0.0"
And the returned data "status.@attributes" property has only the following properties
"""
id
name
is_closed
"""
But the returned data "status.@attributes" property has only the following properties with Redmine version "< 5.0.0"
"""
id
name
"""
And the returned data "status.@attributes" property contains the following data with Redmine version ">= 5.0.0"
And the returned data "status.@attributes" property contains the following data
| property | value |
| id | 1 |
| name | New |
| is_closed | false |
But the returned data "status.@attributes" property contains the following data with Redmine version "< 5.0.0"
| property | value |
| id | 1 |
| name | New |
And the returned data "priority" property is an array
And the returned data "priority" property contains "1" items
And the returned data "priority.@attributes" property is an array
Expand Down
9 changes: 1 addition & 8 deletions tests/Behat/features/tracker.feature
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,14 @@ Feature: Interacting with the REST API for trackers
And the returned data "trackers" property is an array
And the returned data "trackers" property contains "2" items
And the returned data "trackers.0" property is an array
And the returned data "trackers.0" property has only the following properties with Redmine version ">= 5.0.0"
And the returned data "trackers.0" property has only the following properties
"""
id
name
default_status
description
enabled_standard_fields
"""
But the returned data "trackers.0" property has only the following properties with Redmine version "< 5.0.0"
"""
id
name
default_status
description
"""
And the returned data "trackers.0" property contains the following data
| property | value |
| id | 1 |
Expand Down

0 comments on commit 067e4b2

Please sign in to comment.