Skip to content

Commit

Permalink
Change test of entity to float64
Browse files Browse the repository at this point in the history
  • Loading branch information
dvirsegev committed Jul 27, 2023
1 parent c219f10 commit bbfd9e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions port/entity/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestAccPortEntity(t *testing.T) {
"myStringIdentifier" = "My String Value"
}
"number_props" = {
"myNumberIdentifier" = 123
"myNumberIdentifier" = 123.456
}
"boolean_props" = {
"myBooleanIdentifier" = true
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit bbfd9e8

Please sign in to comment.