Test openapi schema of PUT /comments/{comment}

This commit is contained in:
2021-03-17 18:25:55 +01:00
parent ca402dbea7
commit 7765e6d27a
5 changed files with 99 additions and 19 deletions

View File

@@ -100,7 +100,9 @@ class `Comment articles routes` : BaseTest() {
`When I send a PUT request`("/comments/fd30d20f-656c-42c6-8955-f61c04537464") {
`authenticated as`("Hubert", "Reeves")
`with body`("""
Hello boy
{
"content": "Hello boy"
}
""")
} `Then the response should be` OK and {
`And the response should not be null`()