Skip to content

Commit 8a5b692

Browse files
Merge branch 'main' into NIAD-1136
2 parents 2ca64d9 + 8800055 commit 8a5b692

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

nhs-england-developer-information.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,18 @@ Use environment variables to configure the tests to use:
135135
./gradlew cleanIntegrationTest integrationTest -i
136136
```
137137
138+
Please note that if you see an error such as:
139+
140+
`Level=ERROR Logger=o.t.d.DockerClientProviderStrategy Could not find a valid Docker environment.`
141+
142+
Then run the following command from a terminal window, and restart your docker engine (or machine):
143+
144+
```bash
145+
cat > ~/.docker-java.properties <<EOF
146+
api.version=1.44
147+
EOF
148+
```
149+
138150
## How to run e2e tests:
139151
140152
End-to-end (e2e) tests execute against an already running / deployed adaptor and its dependencies. You must run these

service/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,15 @@ dependencies {
7878
testImplementation 'org.springframework.boot:spring-boot-starter-test'
7979
testImplementation "org.assertj:assertj-core:3.27.6"
8080
testImplementation 'org.apache.commons:commons-compress:1.28.0'
81-
testImplementation 'org.testcontainers:testcontainers:1.21.3'
82-
testImplementation 'org.testcontainers:junit-jupiter:1.21.3'
81+
testImplementation(platform('org.testcontainers:testcontainers-bom:2.0.2'))
82+
testImplementation 'commons-io:commons-io:2.21.0'
83+
testImplementation 'org.testcontainers:testcontainers'
84+
testImplementation 'org.testcontainers:junit-jupiter'
8385
testImplementation 'org.awaitility:awaitility:4.3.0'
8486
testImplementation 'org.wiremock:wiremock-standalone:3.13.1'
8587
testImplementation 'com.squareup.okhttp3:okhttp:5.3.0'
8688
testImplementation 'com.squareup.okhttp3:mockwebserver3:5.3.0'
87-
testImplementation 'com.adobe.testing:s3mock-testcontainers:4.7.0'
88-
testImplementation 'org.mockito:mockito-inline:4.8.0'
89+
testImplementation 'com.adobe.testing:s3mock-testcontainers:4.10.0'
8990

9091
spotbugs 'com.github.spotbugs:spotbugs:4.9.8'
9192
spotbugs 'com.github.spotbugs:spotbugs-annotations:4.9.8'

0 commit comments

Comments
 (0)