Skip to content

Commit

Permalink
fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmabadr committed Feb 14, 2024
1 parent a7379e1 commit eb22bbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-create-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/create_module/kyma_create_module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit eb22bbb

Please sign in to comment.