mirror of
https://github.com/FlipsideCrypto/livequery-models.git
synced 2026-02-06 10:56:46 +00:00
fix test args
This commit is contained in:
parent
94506a3f3f
commit
cc6edf555a
@ -22,7 +22,7 @@ models:
|
||||
- CONTAINS(result, 'X-GitHub-Api-Version')
|
||||
- CONTAINS(result, 'Accept')
|
||||
|
||||
- name: post
|
||||
- name: post_api
|
||||
tests:
|
||||
- test_udf_without_context:
|
||||
name: test_github_utils__post_invalid_route
|
||||
@ -33,7 +33,7 @@ models:
|
||||
- result:status_code = 404
|
||||
- result IS NOT NULL
|
||||
|
||||
- name: put
|
||||
- name: put_api
|
||||
tests:
|
||||
- test_udf_without_context:
|
||||
name: test_github_utils__put_invalid_route
|
||||
|
||||
@ -35,8 +35,7 @@ models:
|
||||
- test_udf_without_context:
|
||||
name: test_slack_utils__post_message_httpbin
|
||||
args: >
|
||||
'fake-test-token',
|
||||
'https://httpbin.org/post',
|
||||
'C1234567890',
|
||||
{'text': 'Test message from Livequery'}
|
||||
assertions:
|
||||
- result:status_code = 200
|
||||
@ -45,8 +44,7 @@ models:
|
||||
- test_udf_without_context:
|
||||
name: test_slack_utils__post_message_auth_error
|
||||
args: >
|
||||
'invalid-token',
|
||||
'https://httpbin.org/status/401',
|
||||
'C1234567890',
|
||||
{'text': 'Test message'}
|
||||
assertions:
|
||||
- result:status_code = 401
|
||||
@ -57,8 +55,7 @@ models:
|
||||
- test_udf_without_context:
|
||||
name: test_slack_utils__post_reply_httpbin
|
||||
args: >
|
||||
'fake-test-token',
|
||||
'https://httpbin.org/post',
|
||||
'C1234567890',
|
||||
'1234567890.123456',
|
||||
{'text': 'Test reply from Livequery'}
|
||||
assertions:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user