From a168110b19a4504a7cc29b7364606e8c92f64452 Mon Sep 17 00:00:00 2001 From: Jared O'Connell Date: Thu, 22 Aug 2024 14:40:51 -0400 Subject: [PATCH] Added test for the unenforced ID --- internal/builtinfunctions/functions_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/builtinfunctions/functions_test.go b/internal/builtinfunctions/functions_test.go index 5bcb701e..3d66c9ce 100644 --- a/internal/builtinfunctions/functions_test.go +++ b/internal/builtinfunctions/functions_test.go @@ -949,6 +949,7 @@ func TestHandleTypeSchemaCombine(t *testing.T) { listItemObj, isObj := schema.ConvertToObjectSchema(outputType.(*schema.ListSchema).ItemsValue) assert.Equals(t, isObj, true) assert.Equals(t, listItemObj.ID(), lclInput.expectedResult) + assert.Equals(t, listItemObj.IDUnenforced(), true) }) } }