Fixed tests
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.example.source;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @author Marcin Grzejszczak
|
||||
*/
|
||||
@RestController
|
||||
class FooController {
|
||||
|
||||
@GetMapping("/foo")
|
||||
void foo() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@ package contracts
|
||||
org.springframework.cloud.contract.spec.Contract.make {
|
||||
request {
|
||||
method(GET())
|
||||
url("/health")
|
||||
url("/foo")
|
||||
}
|
||||
response {
|
||||
status(200)
|
||||
|
||||
Reference in New Issue
Block a user