Skip to content

Commit

Permalink
Use the latest Go sdk design
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTitu committed Jan 22, 2024
1 parent 0532ffa commit a923379
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@ import (
func TestSecretRetrievalFromTestAccount(t *testing.T) {
token := os.Getenv("OP_SERVICE_ACCOUNT_TOKEN")

clientFactory, err := NewClientFactory(context.TODO())
if err != nil {
panic(err)
}

client, err := clientFactory.NewClient(
client, err := NewClient(context.TODO(),
WithServiceAccountToken(token),
WithIntegrationInfo("Integration_Test_Go_SDK", DefaultIntegrationVersion),
WithIntegrationInfo(DefaultIntegrationName, DefaultIntegrationVersion),
)
if err != nil {
panic(err)
Expand Down

0 comments on commit a923379

Please sign in to comment.