diff options
Diffstat (limited to 'testing/pacts/pacts/createrepository-createrepository.json')
-rw-r--r-- | testing/pacts/pacts/createrepository-createrepository.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/pacts/pacts/createrepository-createrepository.json b/testing/pacts/pacts/createrepository-createrepository.json new file mode 100644 index 000000000..96d06c23c --- /dev/null +++ b/testing/pacts/pacts/createrepository-createrepository.json @@ -0,0 +1,38 @@ +{ + "consumer": { + "name": "CreateRepository" + }, + "provider": { + "name": "CreateRepository" + }, + "interactions": [ + { + "description": "A request to CreateRepository", + "providerState": "Repository does not exist", + "request": { + "method": "POST", + "path": "/gitaly.RepositoryService/CreateRepository", + "body": { + "defaultBranch": "bWFpbg==", + "repository": { + "relativePath": "ae300491-9af0-49a8-9d52-c8e685524fb4", + "storageName": "default" + } + } + }, + "response": { + "status": 200, + "headers": { + "Content-Type": "application/json" + }, + "body": { + } + } + } + ], + "metadata": { + "pactSpecification": { + "version": "2.0.0" + } + } +}
\ No newline at end of file |