change: update unit tests for removing v1 format

This commit is contained in:
debugtalk
2020-04-09 11:46:13 +08:00
parent d98fbc8da7
commit 7ba22b1389
37 changed files with 205 additions and 686 deletions

View File

@@ -1,4 +1,4 @@
- config:
config:
name: "create user testcases."
variables:
user_agent: 'iOS/10.3'
@@ -7,7 +7,8 @@
app_version: '2.8.6'
base_url: ${get_base_url()}
- test:
teststeps:
-
name: get token
request:
url: /api/get-token
@@ -25,7 +26,7 @@
- {"check": "status_code", "comparator": "eq", "expect": 200}
- {"check": "content.token", "comparator": "len_eq", "expect": 16}
- test:
-
name: create user which does not exist
variables:
user_name: "user1"
@@ -44,7 +45,7 @@
- {"check": "status_code", "comparator": "eq", "expect": 201}
- {"check": "content.success", "comparator": "eq", "expect": true}
- test:
-
name: create user which does not exist
request:
url: /api/users/1000