Skip to content

Commit

Permalink
change entityName
Browse files Browse the repository at this point in the history
  • Loading branch information
bashar-515 committed Sep 19, 2024
1 parent aa7266f commit 8c8660a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robot/impl/local_robot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func TestConfigRemoteWithAuth(t *testing.T) {
Type: rpc.CredentialsTypeAPIKey,
Config: rutils.AttributeMap{
apiKeyID: apiKey,
"keys": []string{apiKey},
"keys": []string{apiKeyID},
},
},
{
Expand Down Expand Up @@ -393,7 +393,7 @@ func TestConfigRemoteWithAuth(t *testing.T) {
test.That(t, ok, test.ShouldBeFalse)
test.That(t, remoteBot, test.ShouldBeNil)

remoteConfig.Remotes[0].Auth.Entity = entityName
remoteConfig.Remotes[0].Auth.Entity = apiKeyID
remoteConfig.Remotes[1].Auth.Entity = entityName
test.That(t, setupLocalRobot(t, context.Background(), remoteConfig, logger).Close(context.Background()), test.ShouldBeNil)

Expand Down

0 comments on commit 8c8660a

Please sign in to comment.