Refactor 'the response should contain list'

This commit is contained in:
2021-04-03 00:17:29 +02:00
parent a48cd52652
commit 2bb90ced03
6 changed files with 19 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ class `Article routes` : BaseTest() {
`And the response should contain pattern`("$.result[1].createdBy.name.firstName", "firstName.+")
`And the response should contain pattern`("$.result[2].createdBy.name.firstName", "firstName.+")
`And the response should not contain`("$.result[3]")
`And the response should contain list`("$.result", 3, 3)
`And the response should contain list`("$.result", 3)
}
}
}