diff --git a/tavern-tests/test_plans/decode_test.tavern.yaml b/tavern-tests/test_plans/decode_test.tavern.yaml index 9cc4ce1..13ebdf3 100644 --- a/tavern-tests/test_plans/decode_test.tavern.yaml +++ b/tavern-tests/test_plans/decode_test.tavern.yaml @@ -7,16 +7,16 @@ stages: - name: "Successful decode with valid encoded input" request: - url: "http://{server_address}/{api_base}/major/decode/pl/hello" + url: "http://{server_address}/{api_base}/major/decode/pl/test" method: GET headers: X-API-Key: "{api_key}" response: - strict: False + strict: True status_code: 200 json: - input: "hello" - result: !anystr + input: "test" + result: "101" - name: "Missing authentication returns 401 error" request: diff --git a/tavern-tests/test_plans/dictionary_test.tavern.yaml b/tavern-tests/test_plans/dictionary_test.tavern.yaml index 518a1c2..7669179 100644 --- a/tavern-tests/test_plans/dictionary_test.tavern.yaml +++ b/tavern-tests/test_plans/dictionary_test.tavern.yaml @@ -15,14 +15,16 @@ stages: strict: False status_code: 200 json: - dictionaries: !anylist + dictionaries: + - name: !anystr + entry_count: !anyint - name: "Missing authentication returns 401 error" request: url: "http://{server_address}/{api_base}/dicts" method: GET response: - strict: False + strict: True status_code: 401 json: error: !anystr diff --git a/tavern-tests/test_plans/version_test.tavern.yaml b/tavern-tests/test_plans/version_test.tavern.yaml index 96f9f74..ef3408f 100644 --- a/tavern-tests/test_plans/version_test.tavern.yaml +++ b/tavern-tests/test_plans/version_test.tavern.yaml @@ -11,10 +11,10 @@ stages: headers: X-API-Key: "{api_key}" response: - strict: False + strict: True status_code: 200 json: - name: !anystr + name: "phomnemic-server" version: !anystr