Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Fix e2e test for devmain #3640

Merged
merged 2 commits into from
Feb 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix e2e test for devmain
alextargov committed Feb 7, 2024
commit 3b4366140a2af0d5cb01af48b18fd2105b1bf07d
Original file line number Diff line number Diff line change
@@ -288,7 +288,7 @@ func TestCreateApplicationTemplate(t *testing.T) {
err = testctx.Tc.RunOperationWithCustomTenant(ctx, certSecuredGraphQLClient, tenantID, createRegionalApplicationTemplateRequest2, &regionalOutput2)
defer fixtures.CleanupApplicationTemplate(t, ctx, certSecuredGraphQLClient, tenantID, regionalOutput2)
require.Error(t, err)
require.Contains(t, err.Error(), `Application Template with "systemRole" label is global and already exists`)
require.Contains(t, err.Error(), fmt.Sprintf(`Application Template with "%s" label is global and already exists`, conf.ApplicationTemplateProductLabel))
})

t.Run("Error for self register when distinguished label or product label have not been defined and the call is made with a certificate", func(t *testing.T) {