Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerHeber committed Aug 18, 2024
1 parent ae4915d commit 131230b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions env0/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,13 @@ func TestWriteResourceDataSliceVariablesConfigurationVariable(t *testing.T) {
Id: "id0",
Name: "name0",
Description: "desc0",
Value: "v1",
Schema: &schema1,
}

var2 := client.ConfigurationVariable{
Id: "id1",
Name: "name1",
Description: "desc1",
Value: "v2",
Schema: &schema2,
}

Expand All @@ -305,8 +303,6 @@ func TestWriteResourceDataSliceVariablesConfigurationVariable(t *testing.T) {

assert.Equal(t, var1.Name, d.Get("variables.0.name"))
assert.Equal(t, var2.Name, d.Get("variables.1.name"))
assert.Equal(t, var1.Value, d.Get("variables.0.value"))
assert.Equal(t, var2.Value, d.Get("variables.1.value"))
assert.Equal(t, string(var1.Schema.Format), d.Get("variables.0.format"))
assert.Equal(t, string(var2.Schema.Format), d.Get("variables.1.format"))
}
Expand Down

0 comments on commit 131230b

Please sign in to comment.