diff --git a/internal/process/provisioning/create_runtime_resource_step_test.go b/internal/process/provisioning/create_runtime_resource_step_test.go index b385566988..53f3a2332b 100644 --- a/internal/process/provisioning/create_runtime_resource_step_test.go +++ b/internal/process/provisioning/create_runtime_resource_step_test.go @@ -107,7 +107,7 @@ func TestCreateRuntimeResourceStep_HappyPath_ActualCreation(t *testing.T) { }, &runtime) assert.NoError(t, err) assert.Equal(t, preOperation.RuntimeID, runtime.Name) - assert.Equal(t, "my-kyma", runtime.Labels["operator.kyma-project.io/kyma-name"]) + assert.Equal(t, "runtime-58f8c703-1756-48ab-9299-a847974d1fee", runtime.Labels["operator.kyma-project.io/kyma-name"]) assertLabels(t, preOperation, runtime) assertSecurity(t, runtime) @@ -119,7 +119,7 @@ func TestCreateRuntimeResourceStep_HappyPath_ActualCreation(t *testing.T) { func assertSecurity(t *testing.T, runtime imv1.Runtime) { assert.True(t, reflect.DeepEqual(runtime.Spec.Security.Administrators, expectedAdministrators)) - assert.Equal(t, runtime.Spec.Security.Networking.Filter.Egress, false) + assert.Equal(t, runtime.Spec.Security.Networking.Filter.Egress, imv1.Egress(imv1.Egress{Enabled: false})) } func assertLabels(t *testing.T, preOperation internal.Operation, runtime imv1.Runtime) {