Skip to content

Commit

Permalink
test: adjust portman config
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKolarik committed Jul 14, 2023
1 parent a0e7ffc commit f528b4a
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion test/tests/contract/portman-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"contractTests": [
{
"openApiOperation": "*::/*",
"excludeForOperations": [
"createMeasurement"
],
"statusSuccess": {
"enabled": true
},
Expand All @@ -19,7 +22,34 @@
"headersPresent": {
"enabled": true
}
},
{
"openApiOperation": "createMeasurement",
"contentType": {
"enabled": true
},
"jsonBody": {
"enabled": true
},
"schemaValidation": {
"enabled": true
},
"headersPresent": {
"enabled": true
}
}
]
}
},
"overwrites": [
{
"openApiOperationId": "getMeasurement",
"overwriteRequestPathVariables": [
{
"key": "id",
"value": "measurementid",
"insert": false
}
]
}
]
}

0 comments on commit f528b4a

Please sign in to comment.