Skip to content

Commit 4e2f11b

Browse files
committed
Add support and behat tests for Redmine 6.0.2
1 parent 9939780 commit 4e2f11b

File tree

5 files changed

+24
-2
lines changed

5 files changed

+24
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
- Support for Redmine 6.0.x was added.
1213
- New class `Redmine\Http\HttpFactory` to create `Redmine\Http\Request` and `Redmine\Http\Response` instances.
1314

1415
### Changed
1516

16-
- Behaviour-driven tests are run against Redmine 5.1.4, 5.0.10 and 4.2.10.
17+
- Behaviour-driven tests are run against Redmine 6.0.2, 5.1.4, 5.0.10.
1718

1819
### Deprecated
1920

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ like [Guzzle](https://github.com/guzzle/guzzle) for handling http connections
3838
We support (and run tests against) the [latest supported Redmine versions](https://www.redmine.org/projects/redmine/wiki/Download#Versions-status-and-releases-policy)
3939
that receive security updates.
4040

41+
- Redmine 6.0.x
4142
- Redmine 5.1.x
4243
- Redmine 5.0.x
4344

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"scripts": {
5454
"bdt": [
5555
"Composer\\Config::disableProcessTimeout",
56-
"@behat --format=progress --suite=redmine_50104",
56+
"@behat --format=progress --suite=redmine_60002",
57+
"@behat --format=progress --suite=redmine_50105",
5758
"@behat --format=progress --suite=redmine_50010"
5859
],
5960
"behat": "behat --config tests/Behat/behat.yml",

docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,19 @@ services:
2626
# Make sure the following services are configured in:
2727
# - /tests/Behat/behat.yml
2828

29+
redmine-60002:
30+
image: redmine:6.0.2
31+
ports:
32+
- "6002:3000"
33+
environment:
34+
# Workaround: Remove secret for Rails 7.2 so it will be generated automatically
35+
# @see https://github.com/docker-library/redmine/issues/349#issuecomment-2516634932
36+
# REDMINE_SECRET_KEY_BASE: supersecretkey
37+
REDMINE_PLUGINS_MIGRATE: true
38+
volumes:
39+
- ./.docker/redmine-60002_data/files:/usr/src/redmine/files
40+
- ./.docker/redmine-60002_data/sqlite:/usr/src/redmine/sqlite
41+
2942
redmine-50105:
3043
image: redmine:5.1.5
3144
user: "1000:1000"

tests/Behat/behat.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
default:
22
suites:
3+
redmine_60002:
4+
paths:
5+
- '%paths.base%/features'
6+
contexts:
7+
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
8+
redmineVersion: '6.0.2'
39
redmine_50105:
410
paths:
511
- '%paths.base%/features'

0 commit comments

Comments
 (0)