23. • pact.go:314: Verifying a pact between MyConsumer and MyProvider Given
Serval exists A request to get serval info with GET /api/v1/animal/1 returns a
response which has status code 200
• pact.go:314: Verifying a pact between MyConsumer and MyProvider Given
Serval exists A request to get serval info with GET /api/v1/animal/1 returns a
response which has a matching body
• pact.go:314: Verifying a pact between MyConsumer and MyProvider Given
Serval exists A request to get serval info with GET /api/v1/animal/1 returns a
response which includes headers "Content-Type" which is an instance of String
24. • pact.go:314: Verifying a pact between MyConsumer and MyProvider Given Serval exists A
request to get serval info with GET /api/v1/animal/1 returns a response which has status code
200
• pact.go:314: Verifying a pact between MyConsumer and MyProvider Given Serval exists A
request to get serval info with GET /api/v1/animal/1 returns a response which has a matching
body
• pact.go:314: Verifying a pact between MyConsumer and MyProvider Given Serval exists A
request to get serval info with GET /api/v1/animal/1 returns a response which includes headers
"Content-Type" which is an instance of String
25. pact.go:314: Verifying a pact between MyConsumer and MyProvider Given Serval exists A request to get serval info with GET
/api/v1/animal/1 returns a response which has status code 200
pact.go:316: Verifying a pact between MyConsumer and MyProvider Given Serval exists A request to get serval info with GET
/api/v1/animal/1 returns a response which has a matching body
Actual: {"id":1,"real_name":"サーバル"}
Diff
--------------------------------------
Key: - is expected
+ is actual
Matching keys and values are not shown
{
- "name": "サーバル"
}
Description of differences
--------------------------------------
* Could not find key "name" (keys present are: id, real_name) at $
pact.go:314: Verifying a pact between MyConsumer and MyProvider Given Serval exists A request to get serval info with GET
/api/v1/animal/1 returns a response which has a matching body
pact.go:314: Verifying a pact between MyConsumer and MyProvider Given Serval exists A request to get serval info with GET
/api/v1/animal/1 returns a response which includes headers "Content-Type" which is an instance of String