From 0dc7c5509c0bea6a13cec98f794c71dd65f44391 Mon Sep 17 00:00:00 2001 From: Shurkys <1240425+shurkys@users.noreply.github.com> Date: Fri, 17 Jan 2025 16:34:06 +0200 Subject: [PATCH] fix lint api_packages_terraform_test --- tests/integration/api_packages_terraform_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/api_packages_terraform_test.go b/tests/integration/api_packages_terraform_test.go index 7e17f3db9e6..424b4034617 100644 --- a/tests/integration/api_packages_terraform_test.go +++ b/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"])