Skip to content

Commit

Permalink
chore: demonstrate workaround for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jan 18, 2024
1 parent 1c67708 commit cede25a
Show file tree
Hide file tree
Showing 5 changed files with 231 additions and 87 deletions.
95 changes: 95 additions & 0 deletions examples/v4/plugins/myconsumer-myprovider-11.0.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"consumer": {
"name": "myconsumer"
},
"interactions": [
{
"description": "a MATT message",
"key": "daf974126abe44c0",
"pending": false,
"request": {
"contents": {
"content": "MATThellotcpMATT",
"contentType": "application/matt",
"contentTypeHint": "DEFAULT",
"encoded": false
}
},
"response": [
{
"contents": {
"content": "MATTtcpworldMATT",
"contentType": "application/matt",
"contentTypeHint": "DEFAULT",
"encoded": false
}
}
],
"transport": "matt",
"type": "Synchronous/Messages"
},
{
"description": "an HTTP request to /matt",
"key": "b6c5b973534175ec",
"pending": false,
"providerStates": [
{
"name": "the Matt protocol exists"
}
],
"request": {
"body": {
"content": "MATThelloMATT",
"contentType": "application/matt",
"contentTypeHint": "DEFAULT",
"encoded": false
},
"headers": {
"content-type": [
"application/matt"
]
},
"method": "POST",
"path": "/matt"
},
"response": {
"body": {
"content": "MATTworldMATT",
"contentType": "application/matt",
"contentTypeHint": "DEFAULT",
"encoded": false
},
"headers": {
"content-type": [
"application/matt"
]
},
"status": 200
},
"type": "Synchronous/HTTP"
}
],
"metadata": {
"pact-js": {
"version": "11.0.2"
},
"pactRust": {
"ffi": "0.4.0",
"mockserver": "0.9.8",
"models": "1.0.4"
},
"pactSpecification": {
"version": "4.0"
},
"plugins": [
{
"configuration": {},
"name": "matt",
"version": "0.0.7"
}
]
},
"provider": {
"name": "myprovider"
}
}
93 changes: 93 additions & 0 deletions examples/v4/plugins/myconsumer-myprovider-12.0.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"consumer": {
"name": "myconsumer"
},
"interactions": [
{
"description": "a MATT message",
"pending": false,
"request": {
"contents": {
"content": "TUFUVGhlbGxvdGNwTUFUVA==",
"contentType": "application/matt",
"contentTypeHint": "DEFAULT",
"encoded": "base64"
}
},
"response": [
{
"contents": {
"content": "TUFUVHRjcHdvcmxkTUFUVA==",
"contentType": "application/matt",
"contentTypeHint": "DEFAULT",
"encoded": "base64"
}
}
],
"transport": "matt",
"type": "Synchronous/Messages"
},
{
"description": "an HTTP request to /matt",
"pending": false,
"providerStates": [
{
"name": "the Matt protocol exists"
}
],
"request": {
"body": {
"content": "TUFUVGhlbGxvTUFUVA==",
"contentType": "application/matt",
"contentTypeHint": "DEFAULT",
"encoded": "base64"
},
"headers": {
"content-type": [
"application/matt"
]
},
"method": "POST",
"path": "/matt"
},
"response": {
"body": {
"content": "TUFUVHdvcmxkTUFUVA==",
"contentType": "application/matt",
"contentTypeHint": "DEFAULT",
"encoded": "base64"
},
"headers": {
"content-type": [
"application/matt"
]
},
"status": 200
},
"type": "Synchronous/HTTP"
}
],
"metadata": {
"pact-js": {
"version": "12.0.0"
},
"pactRust": {
"ffi": "0.4.12",
"mockserver": "1.2.4",
"models": "1.1.14"
},
"pactSpecification": {
"version": "4.0"
},
"plugins": [
{
"configuration": {},
"name": "matt",
"version": "0.0.7"
}
]
},
"provider": {
"name": "myprovider"
}
}
Loading

0 comments on commit cede25a

Please sign in to comment.