Skip to content

Commit

Permalink
fix name generator after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Rodney Osodo <[email protected]>
  • Loading branch information
rodneyosodo committed Mar 22, 2024
1 parent 3d2a216 commit 3e0b971
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var (
sdkerr = errors.NewSDKError(fmt.Errorf("sdk error"))
emailSuffix = "@example.com"
password = "$tr0ngPassw0rd"
namesgen = namegenerator.NewNameGenerator()
namesgen = namegenerator.NewGenerator()
accessToken = strings.Repeat("a", 32)
name = namesgen.Generate()
id = generateID(&testing.T{})
Expand All @@ -61,7 +61,7 @@ var (
Identity: namesgen.Generate() + emailSuffix,
Secret: password,
},
Tags: namesgen.GenerateNames(3),
Tags: namesgen.GenerateMultiple(3),
Metadata: map[string]interface{}{
"key": "value",
},
Expand All @@ -80,7 +80,7 @@ var (
Identity: generateID(&testing.T{}),
Secret: generateID(&testing.T{}),
},
Tags: namesgen.GenerateNames(3),
Tags: namesgen.GenerateMultiple(3),
Metadata: map[string]interface{}{
"key": "value",
},
Expand Down Expand Up @@ -170,7 +170,7 @@ var (
Metadata: map[string]interface{}{
"key": "value",
},
Tags: namesgen.GenerateNames(3),
Tags: namesgen.GenerateMultiple(3),
CreatedAt: time.Now().Add(-time.Hour),
CreatedBy: generateID(&testing.T{}),
UpdatedAt: time.Now(),
Expand Down

0 comments on commit 3e0b971

Please sign in to comment.