From 38bd51ceb5556f9757d9186269320d42746b319f Mon Sep 17 00:00:00 2001 From: Nesma Badr Date: Wed, 14 Feb 2024 13:34:07 +0100 Subject: [PATCH] fix e2e tests (#1948) --- .github/workflows/test-e2e-create-module.yml | 2 +- tests/e2e/create_module/kyma_create_module_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-e2e-create-module.yml b/.github/workflows/test-e2e-create-module.yml index ca49f0778..004f05e74 100644 --- a/.github/workflows/test-e2e-create-module.yml +++ b/.github/workflows/test-e2e-create-module.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest env: K3D_VERSION: v5.4.7 - MODULE_TEMPLATE_VERSION: 0.1.0 + MODULE_TEMPLATE_VERSION: 0.1.2 OCI_REPOSITORY_URL: http://k3d-oci.localhost:5001 steps: - name: Checkout Kyma CLI diff --git a/tests/e2e/create_module/kyma_create_module_test.go b/tests/e2e/create_module/kyma_create_module_test.go index 5d85460bd..2382ba877 100644 --- a/tests/e2e/create_module/kyma_create_module_test.go +++ b/tests/e2e/create_module/kyma_create_module_test.go @@ -69,7 +69,7 @@ func Test_ModuleTemplate(t *testing.T) { ociArtifactAccessSpec, ok := resourceAccessSpec.(*ociartifact.AccessSpec) assert.True(t, ok) assert.Equal(t, ociartifact.Type, ociArtifactAccessSpec.GetType()) - assert.Equal(t, "europe-docker.pkg.dev/kyma-project/prod/template-operator:0.1.0", + assert.Equal(t, "europe-docker.pkg.dev/kyma-project/prod/template-operator:0.1.2", ociArtifactAccessSpec.ImageReference) }) @@ -102,7 +102,7 @@ func Test_ModuleTemplate(t *testing.T) { flattened := e2e.Flatten(secScanLabels) assert.Equal(t, map[string]string{ "git.kyma-project.io/ref": "refs/heads/main", - "scan.security.kyma-project.io/rc-tag": "0.1.0", + "scan.security.kyma-project.io/rc-tag": "0.1.2", "scan.security.kyma-project.io/language": "golang-mod", "scan.security.kyma-project.io/dev-branch": "main", "scan.security.kyma-project.io/subprojects": "false",