From 34e1d0416a53a7f4ca4c411c954c6fa1ad0c744d Mon Sep 17 00:00:00 2001
From: "georgi.michev" <georgi.michev@vereign.com>
Date: Mon, 5 Sep 2022 13:19:02 +0300
Subject: [PATCH] Add new signer test with no at symbol

Signed-off-by: georgi.michev <georgi.michev@vereign.com>
---
 src/main/resources/REST/json/Data.json         | 18 ++++++++++++++++++
 .../tsa/signer/v1/presentation/POST.feature    |  1 +
 2 files changed, 19 insertions(+)

diff --git a/src/main/resources/REST/json/Data.json b/src/main/resources/REST/json/Data.json
index cafc6ebc..f41bcad2 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 28720e06..46c5a42f 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
-- 
GitLab