From bbfd9e87f63900220866fcd13231c6c74b105d43 Mon Sep 17 00:00:00 2001 From: dvirsegev Date: Thu, 27 Jul 2023 22:28:21 +0300 Subject: [PATCH] Change test of entity to float64 --- port/entity/resource_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/port/entity/resource_test.go b/port/entity/resource_test.go index 3a7cd43f..52f27b47 100644 --- a/port/entity/resource_test.go +++ b/port/entity/resource_test.go @@ -65,7 +65,7 @@ func TestAccPortEntity(t *testing.T) { "myStringIdentifier" = "My String Value" } "number_props" = { - "myNumberIdentifier" = 123 + "myNumberIdentifier" = 123.456 } "boolean_props" = { "myBooleanIdentifier" = true @@ -102,7 +102,7 @@ func TestAccPortEntity(t *testing.T) { resource.TestCheckResourceAttr("port_entity.microservice", "title", "TF Provider Test Entity0"), resource.TestCheckResourceAttr("port_entity.microservice", "blueprint", identifier), resource.TestCheckResourceAttr("port_entity.microservice", "properties.string_props.myStringIdentifier", "My String Value"), - resource.TestCheckResourceAttr("port_entity.microservice", "properties.number_props.myNumberIdentifier", "123"), + resource.TestCheckResourceAttr("port_entity.microservice", "properties.number_props.myNumberIdentifier", "123.456"), resource.TestCheckResourceAttr("port_entity.microservice", "properties.boolean_props.myBooleanIdentifier", "true"), resource.TestCheckResourceAttr("port_entity.microservice", "properties.object_props.myObjectIdentifier", "{\"foo\":\"bar\"}"), resource.TestCheckResourceAttr("port_entity.microservice", "properties.array_props.string_items.myStringArrayIdentifier.0", "My Array Value"),