From f37943ef1cf21f2a6b587281c5d1d96764098480 Mon Sep 17 00:00:00 2001 From: Ewan Donovan Date: Fri, 31 Jan 2025 16:45:03 +0000 Subject: [PATCH] refactor for extra test endpoint --- .../hmpps/learnerrecordsapi/integration/OpenApiDocsTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/kotlin/uk/gov/justice/digital/hmpps/learnerrecordsapi/integration/OpenApiDocsTest.kt b/src/test/kotlin/uk/gov/justice/digital/hmpps/learnerrecordsapi/integration/OpenApiDocsTest.kt index 429354e..a80522f 100644 --- a/src/test/kotlin/uk/gov/justice/digital/hmpps/learnerrecordsapi/integration/OpenApiDocsTest.kt +++ b/src/test/kotlin/uk/gov/justice/digital/hmpps/learnerrecordsapi/integration/OpenApiDocsTest.kt @@ -104,8 +104,8 @@ class OpenApiDocsTest : IntegrationTestBase() { .expectBody() .jsonPath("$.paths[*][*][?(!@.security)]") .value> { list -> - // Assert that the list has only 5 items since there are 5 test endpoints - assertThat(list).hasSize(5) + // Assert that the list has only 6 items since there are 6 test endpoints + assertThat(list).hasSize(6) } } }