diff --git a/src/main/resources/REST/json/Data.json b/src/main/resources/REST/json/Data.json index cafc6ebc7d83102ae2a03d78c42068aee8edfdce..f41bcad297a7147c6f55318d767d769fd0399ff2 100644 --- a/src/main/resources/REST/json/Data.json +++ b/src/main/resources/REST/json/Data.json @@ -53,5 +53,23 @@ }, "data_format": { "data": "different format" + }, + "context_no_at": { + "context": [ + "https://www.w3.org/2018/credentials/v1", + "https://w3id.org/security/suites/jws-2020/v1", + "https://schema.org" + ], + "data": [ + { + "dataOfBirth": "-0571-01-01T07:53:06.234142119Z", + "age": 2592, + "over18": true + }, + { + "fName": "Pythagoras", + "lName": "of Samos" + } + ] } } \ No newline at end of file diff --git a/src/test/resources/features/tsa/signer/v1/presentation/POST.feature b/src/test/resources/features/tsa/signer/v1/presentation/POST.feature index 28720e063d6bfd600f3a28a47ee7d2fdbeabbfb8..46c5a42f119f26bf341f51edaeb8868b9e92518f 100644 --- a/src/test/resources/features/tsa/signer/v1/presentation/POST.feature +++ b/src/test/resources/features/tsa/signer/v1/presentation/POST.feature @@ -37,6 +37,7 @@ Feature: API - TSA - Signer create presentation from JSON - v1/presentation POST | single data | single | Signer_JSON_single_schema.json | | multi data | multi | Signer_JSON_multi_schema.json | | with context | context | Signer_JSON_context_schema.json | + | with context | context_no_at | Signer_JSON_context_schema.json | @negative Scenario Outline: TSA - create presentation from JSON <labelSuffix> - Negative