Skip to content

Commit c642c73

Browse files
authored
Merge pull request #18 from ahmetbcakici/patch-1
Fix endpoint typo in test
2 parents 7810c5e + 34589b1 commit c642c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consumer/src/test/java/au/com/dius/pactworkshop/consumer/ProductServiceTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void getAllProducts() {
6060

6161
@Test
6262
void getProductById() {
63-
wireMockServer.stubFor(get(urlPathEqualTo("/products/50"))
63+
wireMockServer.stubFor(get(urlPathEqualTo("/product/50"))
6464
.willReturn(aResponse()
6565
.withStatus(200)
6666
.withHeader("Content-Type", "application/json")

0 commit comments

Comments
 (0)