diff --git a/lib/pact_broker/client/matrix_text_formatter.rb b/lib/pact_broker/client/matrix_text_formatter.rb index 39b8e7bc..eb3b43b4 100644 --- a/lib/pact_broker/client/matrix_text_formatter.rb +++ b/lib/pact_broker/client/matrix_text_formatter.rb @@ -13,7 +13,7 @@ def self.call(matrix_lines) lookup(line, :pact, :createdAt), lookup(line, :consumer, :name), lookup(line, :provider, :version, :number), - lookup(line, :verification, :executedAt), + lookup(line, :verificationResult, :verifiedAt), ) end diff --git a/spec/pacts/pact_broker_client-pact_broker.json b/spec/pacts/pact_broker_client-pact_broker.json index d53f2bfc..bb363724 100644 --- a/spec/pacts/pact_broker_client-pact_broker.json +++ b/spec/pacts/pact_broker_client-pact_broker.json @@ -227,8 +227,8 @@ "number": "5" } }, - "verification": { - "executedAt": "2017-10-10T12:49:04+11:00" + "verificationResult": { + "verifiedAt": "2017-10-10T12:49:04+11:00" }, "pact": { "createdAt": "2017-10-10T12:49:04+11:00" diff --git a/spec/support/matrix.json b/spec/support/matrix.json index d038e55c..23cb185f 100644 --- a/spec/support/matrix.json +++ b/spec/support/matrix.json @@ -12,8 +12,8 @@ "number": "5" } }, - "verification": { - "executedAt": "2017-10-10T12:49:04+11:00" + "verificationResult": { + "verifiedAt": "2017-10-10T12:49:04+11:00" }, "pact": { "createdAt": "2017-10-10T12:49:04+11:00"