Skip to content

Commit 79f0d8e

Browse files
committed
feat:amp-170 add client to call webhook
1 parent e9c79e1 commit 79f0d8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/uk/gov/hmcts/cp/subscription/client/DocumentServiceClientTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static void configureProperties(DynamicPropertyRegistry registry) {
5656
}
5757

5858
@Test
59-
void shouldSendPostRequestToDocumentService() {
59+
void generateOpenApiModels_should_create_ErrorResponse() {
6060
wireMockServer.stubFor(post(urlEqualTo("/document-service/api/rest/document/metadata"))
6161
.willReturn(aResponse()
6262
.withStatus(204)));
@@ -71,7 +71,7 @@ void shouldSendPostRequestToDocumentService() {
7171
}
7272

7373
@Test
74-
void shouldHandleSuccessfulResponse() {
74+
void should_handle_successful_response() {
7575
wireMockServer.stubFor(post(urlEqualTo("/document-service/api/rest/document/metadata"))
7676
.willReturn(aResponse()
7777
.withStatus(200)));
@@ -86,7 +86,7 @@ void shouldHandleSuccessfulResponse() {
8686
}
8787

8888
@Test
89-
void shouldSendCorrectPayloadToDocumentService() {
89+
void should_send_correct_payload_to_document_service() {
9090
UUID eventId = UUID.randomUUID();
9191

9292
wireMockServer.stubFor(post(urlEqualTo("/document-service/api/rest/document/metadata"))

0 commit comments

Comments
 (0)