add unittest: variables in testcase teststep should override api's

This commit is contained in:
debugtalk
2018-11-16 14:50:14 +08:00
parent 05eb07935a
commit 82b527d8b2
2 changed files with 15 additions and 0 deletions

View File

@@ -17,6 +17,10 @@
- api:
def: create_user($uid, $user_name, $user_password, $token)
variables:
- user_name: user0
- user_password: "000000"
- uid: 2000
request:
url: /api/users/$uid
method: POST