fix lint api_packages_terraform_test

pull/33277/head
Shurkys 2 weeks ago committed by GitHub
parent 400fb382a0
commit 0dc7c5509c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      tests/integration/api_packages_terraform_test.go

@ -97,7 +97,7 @@ func TestPackageTerraform(t *testing.T) {
// Validate the response
assert.Equal(t, lineage, jsonResponse["lineage"])
assert.Equal(t, terraformVersion, jsonResponse["terraform_version"])
assert.Equal(t, serial, jsonResponse["serial"])
assert.InEpsilon(t, serial, jsonResponse["serial"].(float64), 0.0001)
resource := jsonResponse["resources"].([]any)[0].(map[string]any)
assert.Equal(t, resourceName, resource["name"])
assert.Equal(t, resourceType, resource["type"])

Loading…
Cancel
Save