Skip to content

Commit f57a13b

Browse files
committed
Rename provider_state to providerState in pact files.
1 parent 354833c commit f57a13b

8 files changed

+12
-12
lines changed

pact_broker_client-pact_broker.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"description": "a request to publish a pact",
38-
"provider_state": "an error occurs while publishing a pact",
38+
"providerState": "an error occurs while publishing a pact",
3939
"request": {
4040
"method": "put",
4141
"path": "/pacticipant/Condor/versions/1.3.0/pacts/Pricing%20Service",
@@ -72,7 +72,7 @@
7272
},
7373
{
7474
"description": "a request to retrieve the repository URL of the 'Pricing Service'",
75-
"provider_state": "the 'Pricing Service' does not exist in the pact-broker",
75+
"providerState": "the 'Pricing Service' does not exist in the pact-broker",
7676
"request": {
7777
"method": "get",
7878
"path": "/pacticipant/Pricing%20Service/repository_url",
@@ -90,7 +90,7 @@
9090

9191
{
9292
"description": "a request to register the repository URL of a pacticipant",
93-
"provider_state": "the 'Pricing Service' does not exist in the pact-broker",
93+
"providerState": "the 'Pricing Service' does not exist in the pact-broker",
9494
"request": {
9595
"method": "patch",
9696
"path": "/pacticipant/Pricing%20Service",
@@ -108,7 +108,7 @@
108108
},
109109
{
110110
"description": "a request to retrieve the repository URL of the 'Pricing Service'",
111-
"provider_state": "the 'Pricing Service' already exists in the pact-broker",
111+
"providerState": "the 'Pricing Service' already exists in the pact-broker",
112112
"request": {
113113
"method": "get",
114114
"path": "/pacticipant/Pricing%20Service/repository_url",

spec/fixtures/a_consumer-a_provider-2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"interactions": [
99
{
1010
"description" : "a request for something",
11-
"provider_state": null,
11+
"providerState": null,
1212
"request": {
1313
"method": "post",
1414
"path" : "/something"

spec/fixtures/a_consumer-a_provider-3.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"interactions": [
99
{
1010
"description" : "another request for something",
11-
"provider_state": null,
11+
"providerState": null,
1212
"request": {
1313
"method": "get",
1414
"path" : "/something_else"

spec/fixtures/a_consumer-a_provider-conflict.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"interactions": [
99
{
1010
"description" : "a request for something",
11-
"provider_state": null,
11+
"providerState": null,
1212
"request": {
1313
"method": "post",
1414
"path" : "/something"

spec/fixtures/a_consumer-a_provider-merged.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"interactions": [
99
{
1010
"description" : "a request for something",
11-
"provider_state": null,
11+
"providerState": null,
1212
"request": {
1313
"method": "get",
1414
"path" : "/something"
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"description" : "another request for something",
23-
"provider_state": null,
23+
"providerState": null,
2424
"request": {
2525
"method": "get",
2626
"path" : "/something_else"

spec/fixtures/a_consumer-a_provider.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"interactions": [
99
{
1010
"description" : "a request for something",
11-
"provider_state": null,
11+
"providerState": null,
1212
"request": {
1313
"method": "get",
1414
"path" : "/something"

spec/fixtures/consumer-provider.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"interactions": [
99
{
1010
"description" : "a request for something",
11-
"provider_state": null,
11+
"providerState": null,
1212
"request": {
1313
"method": "get",
1414
"path" : "/something",

spec/fixtures/renderer_pact.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"interactions": [
99
{
1010
"description": "a request for alligators",
11-
"provider_state": "alligators exist",
11+
"providerState": "alligators exist",
1212
"request": {
1313
"method": "get",
1414
"path": "/alligators"

0 commit comments

Comments
 (0)