Skip to content

Commit 3591ab1

Browse files
fix: add user agent to e2e tests (#181)
1 parent 44a986c commit 3591ab1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/e2e/endtoend_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ func newE2EClient(withAuthInClient bool) (*test.API, string, error) {
1212
client, err := scw.NewClient(
1313
scw.WithoutAuth(),
1414
scw.WithDefaultRegion(scw.RegionFrPar),
15+
scw.WithUserAgent("sdk-e2e-test"),
1516
)
1617
if err != nil {
1718
return nil, "", err
@@ -28,6 +29,7 @@ func newE2EClient(withAuthInClient bool) (*test.API, string, error) {
2829
client, err = scw.NewClient(
2930
scw.WithDefaultRegion(scw.RegionFrPar),
3031
scw.WithAuth("", registerResponse.SecretKey),
32+
scw.WithUserAgent("sdk-e2e-test"),
3133
)
3234
testClient = test.NewAPI(client)
3335
}

0 commit comments

Comments
 (0)