diff --git a/client/verification_service.go b/client/verification_service.go index a2fb9707a..416bc73ef 100644 --- a/client/verification_service.go +++ b/client/verification_service.go @@ -20,7 +20,6 @@ type VerificationService struct { // --broker-password // --publish-verification-results // --provider-app-version -// --provider-app-version // --custom-provider-headers func (v *VerificationService) NewService(args []string) Service { log.Printf("[DEBUG] starting verification service with args: %v\n", args) diff --git a/dsl/pact.go b/dsl/pact.go index 8e54c1e34..1dc0cbc93 100644 --- a/dsl/pact.go +++ b/dsl/pact.go @@ -268,16 +268,11 @@ func (p *Pact) VerifyProviderRaw(request types.VerifyRequest) (types.ProviderVer func (p *Pact) VerifyProvider(t *testing.T, request types.VerifyRequest) (types.ProviderVerifierResponse, error) { res, err := p.VerifyProviderRaw(request) - if err != nil { - t.Fatal("Error:", err) - return res, err - } - for _, example := range res.Examples { t.Run(example.Description, func(st *testing.T) { st.Log(example.FullDescription) if example.Status != "passed" { - st.Errorf("%s\n", example.Exception.Message) + t.Errorf("%s\n%s\n", example.FullDescription, example.Exception.Message) } }) }