Skip to content

Commit

Permalink
set additional claims for migration test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryzak committed Sep 21, 2023
1 parent ffcf629 commit 46090f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/migration/setup_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package migration

import (
"context"
"github.com/gofrs/uuid"
"sync"
"testing"
"time"
Expand Down Expand Up @@ -150,6 +151,9 @@ func (r *SetupMigrationRunner) prepareAppStudioProvisionedUser(t *testing.T) {
func (r *SetupMigrationRunner) prepareUser(t *testing.T, name string, targetCluster *wait.MemberAwaitility) *toolchainv1alpha1.UserSignup {
requestBuilder := testsupport.NewSignupRequest(r.Awaitilities).
Username(name).
UserID(uuid.Must(uuid.NewV4()).String()).
AccountID(uuid.Must(uuid.NewV4()).String()).
OriginalSub("original_sub_" + name).
ManuallyApprove().
TargetCluster(targetCluster)
if !r.WithCleanup {
Expand Down

0 comments on commit 46090f5

Please sign in to comment.