Skip to content

Commit

Permalink
Updated example pacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Smith committed May 2, 2018
1 parent 80f940b commit cfc5aa8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
38 changes: 19 additions & 19 deletions example/provider/delivered_pacts/Consumer_Provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@
"name" : "Consumer"
},
"interactions" : [
{
"request" : {
"method" : "GET",
"path" : "/results"
},
"description" : "Fetching results",
"response" : {
"status" : 200,
"body" : {
"count" : 3,
"results" : [
"Bob",
"Fred",
"Harry"
]
}
},
"providerState" : "Results: Bob, Fred, Harry"
},
{
"request" : {
"method" : "GET",
Expand Down Expand Up @@ -37,25 +56,6 @@
}
}
}
},
{
"request" : {
"method" : "GET",
"path" : "/results"
},
"description" : "Fetching results",
"response" : {
"status" : 200,
"body" : {
"count" : 3,
"results" : [
"Bob",
"Fred",
"Harry"
]
}
},
"providerState" : "Results: Bob, Fred, Harry"
}
]
}
38 changes: 19 additions & 19 deletions example/provider_tests/delivered_pacts/Consumer_Provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@
"name" : "Consumer"
},
"interactions" : [
{
"request" : {
"method" : "GET",
"path" : "/results"
},
"description" : "Fetching results",
"response" : {
"status" : 200,
"body" : {
"count" : 3,
"results" : [
"Bob",
"Fred",
"Harry"
]
}
},
"providerState" : "Results: Bob, Fred, Harry"
},
{
"request" : {
"method" : "GET",
Expand Down Expand Up @@ -37,25 +56,6 @@
}
}
}
},
{
"request" : {
"method" : "GET",
"path" : "/results"
},
"description" : "Fetching results",
"response" : {
"status" : 200,
"body" : {
"count" : 3,
"results" : [
"Bob",
"Fred",
"Harry"
]
}
},
"providerState" : "Results: Bob, Fred, Harry"
}
]
}

0 comments on commit cfc5aa8

Please sign in to comment.