Skip to content

Commit c5d3688

Browse files
authored
[ESWE-1344] Fix tests (prisoner base location), tag test tasks to group verification (#1089)
1 parent f5eeb7a commit c5d3688

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@ repositories {
4949

5050
tasks {
5151
register<Test>("unitTest") {
52+
group = "verification"
5253
filter {
5354
excludeTestsMatching("uk.gov.justice.digital.hmpps.hmppsintegrationapi.integration*")
5455
}
5556
}
5657

5758
register<Test>("integrationTest") {
5859
description = "Runs the integration tests, make sure that dependencies are available first by running `make serve`."
60+
group = "verification"
5961
testClassesDirs = sourceSets["test"].output.classesDirs
6062
classpath = sourceSets["main"].output + configurations["testRuntimeClasspath"] + sourceSets["test"].output
6163
filter {

src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/services/GetPrisonerBaseLocationForPersonServiceTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ internal class GetPrisonerBaseLocationForPersonServiceTest(
104104
val expectedLocation = prisonerBaseLocationReceived.copy()
105105

106106
val response = getPrisonerBaseLocationForPersonService.execute(hmppsId, filters)
107-
println("response = $response")
108107
response.data shouldBe expectedLocation
109108
}
110109

0 commit comments

Comments
 (0)