From ad2341d0acdee0eb503cac95dc4f4f0576011771 Mon Sep 17 00:00:00 2001 From: John Grimes Date: Tue, 25 Jun 2024 17:14:34 +1000 Subject: [PATCH 1/6] Fix types in dateTime constant test --- tests/constant_types.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/constant_types.json b/tests/constant_types.json index cbfbe5a..3c3595f 100644 --- a/tests/constant_types.json +++ b/tests/constant_types.json @@ -429,7 +429,7 @@ "constant": [ { "name": "id_time", - "valueDate": "2016-11-12" + "valueDateTime": "2016-11-12" } ], "select": [ @@ -442,7 +442,7 @@ }, { "name": "bool", - "path": "identified.ofType(DateTime) = %id_time", + "path": "identified.ofType(dateTime) = %id_time", "type": "boolean" } ] From 30c55b29ece06d35bebb4299425b87bf4b95bb44 Mon Sep 17 00:00:00 2001 From: John Grimes Date: Tue, 25 Jun 2024 17:28:40 +1000 Subject: [PATCH 2/6] Fix type in id constant test --- tests/constant_types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/constant_types.json b/tests/constant_types.json index 3c3595f..158ea37 100644 --- a/tests/constant_types.json +++ b/tests/constant_types.json @@ -523,7 +523,7 @@ "constant": [ { "name": "id", - "valueUuid": "id1" + "valueId": "id1" } ], "select": [ From f212d1d08f64a5e65bd78f21977fe382c44b79e9 Mon Sep 17 00:00:00 2001 From: John Grimes Date: Wed, 26 Jun 2024 08:24:28 +1000 Subject: [PATCH 3/6] Fix type in instant constant test --- tests/constant_types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/constant_types.json b/tests/constant_types.json index 158ea37..e7f88ae 100644 --- a/tests/constant_types.json +++ b/tests/constant_types.json @@ -603,7 +603,7 @@ }, { "name": "bool", - "path": "effective.ofType(Instant) = %eff", + "path": "effective.ofType(instant) = %eff", "type": "boolean" } ] From f58ec99350ea202debea9fc88f201ef445b27efc Mon Sep 17 00:00:00 2001 From: John Grimes Date: Wed, 26 Jun 2024 08:26:46 +1000 Subject: [PATCH 4/6] Fix type in oid constant test --- tests/constant_types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/constant_types.json b/tests/constant_types.json index e7f88ae..a7cb1d3 100644 --- a/tests/constant_types.json +++ b/tests/constant_types.json @@ -641,7 +641,7 @@ "constant": [ { "name": "oid", - "valueUrl": "urn:oid:1.0" + "valueOid": "urn:oid:1.0" } ], "select": [ From 3c6dbca70a309455433cbe2208b96124916fa40e Mon Sep 17 00:00:00 2001 From: John Grimes Date: Wed, 26 Jun 2024 08:49:34 +1000 Subject: [PATCH 5/6] Fix type in time constant test --- tests/constant_types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/constant_types.json b/tests/constant_types.json index a7cb1d3..ecf6dcf 100644 --- a/tests/constant_types.json +++ b/tests/constant_types.json @@ -764,7 +764,7 @@ }, { "name": "bool", - "path": "value.ofType(Time) = %t", + "path": "value.ofType(time) = %t", "type": "boolean" } ] From 249c1a2ff1a0fe0cc59898194d0bdddf1e12c026 Mon Sep 17 00:00:00 2001 From: John Grimes Date: Wed, 26 Jun 2024 08:55:04 +1000 Subject: [PATCH 6/6] Change constant types test suite title for consistency --- tests/constant_types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/constant_types.json b/tests/constant_types.json index ecf6dcf..40945b9 100644 --- a/tests/constant_types.json +++ b/tests/constant_types.json @@ -1,5 +1,5 @@ { - "title": "constant types", + "title": "constant_types", "description": "tests for all types of constants", "resources": [ {