Skip to content

Commit

Permalink
Make test naming more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
fhennig committed Dec 11, 2024
1 parent f3b1618 commit f1f5eb4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BackendSpringConfigTest {
}

@Test
fun `GIVEN a config with two external fields that exist and are of type date THEN it is valid`() {
fun `GIVEN a config with earliestReleaseDate configured with existing date fields THEN it is valid`() {
val conf = backendConfig(
listOf(
Metadata("foo", MetadataType.DATE),
Expand All @@ -33,7 +33,7 @@ class BackendSpringConfigTest {
}

@Test
fun `GIVEN a config with a missing external field THEN it is invalid`() {
fun `GIVEN a config with a missing external field in earliestReleaseDate THEN it is invalid`() {
val conf = backendConfig(
listOf(
Metadata("foo", MetadataType.DATE),
Expand All @@ -47,7 +47,7 @@ class BackendSpringConfigTest {
}

@Test
fun `GIVEN a config with an external field with incorrect type THEN it is invalid`() {
fun `GIVEN a config with an external field with incorrect type in earliestReleaseDate THEN it is invalid`() {
val conf = backendConfig(
listOf(
Metadata("foo", MetadataType.DATE),
Expand Down

0 comments on commit f1f5eb4

Please sign in to comment.