-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(449): Add a test to reproduce issue #449
- Loading branch information
1 parent
e7de8d4
commit d4b105b
Showing
3 changed files
with
98 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
tests/PactNet.Tests/data/v3-server-numeric-provider-state-param.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"consumer": { | ||
"name": "NativeDriverTests-Consumer-NumericProviderStateParam" | ||
}, | ||
"interactions": [ | ||
{ | ||
"description": "an interaction with a numeric provider state param", | ||
"providerStates": [ | ||
{ | ||
"name": "state with param", | ||
"params": { | ||
"issue": "449" | ||
} | ||
} | ||
], | ||
"request": { | ||
"method": "GET", | ||
"path": "/path" | ||
}, | ||
"response": { | ||
"body": { | ||
"foo": 42 | ||
}, | ||
"headers": { | ||
"Content-Type": "application/json" | ||
}, | ||
"status": 200 | ||
} | ||
} | ||
], | ||
"metadata": { | ||
"pactRust": { | ||
"ffi": "0.4.0", | ||
"models": "1.0.4" | ||
}, | ||
"pactSpecification": { | ||
"version": "3.0.0" | ||
} | ||
}, | ||
"provider": { | ||
"name": "NativeDriverTests-Provider" | ||
} | ||
} |