Skip to content

Commit 7a34738

Browse files
author
Quentin Brosse
authored
test(core): fix human tests (#266)
1 parent 5bdfb4f commit 7a34738

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

internal/e2e/human_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ import (
88
"github.com/scaleway/scaleway-sdk-go/scw"
99
)
1010

11+
var (
12+
defaultOrganizationID = "6170692e-7363-616c-6577-61792e636f6d" // hint: | xxd -ps -r
13+
)
14+
1115
func newE2EClient(withAuthInClient bool) (*test.API, string, string, error) {
1216
client, err := scw.NewClient(
1317
scw.WithDefaultRegion(scw.RegionFrPar),
18+
scw.WithDefaultOrganizationID(defaultOrganizationID),
1419
scw.WithUserAgent("sdk-e2e-test"),
1520
)
1621
if err != nil {
@@ -27,6 +32,7 @@ func newE2EClient(withAuthInClient bool) (*test.API, string, string, error) {
2732
if withAuthInClient {
2833
client, err = scw.NewClient(
2934
scw.WithDefaultRegion(scw.RegionFrPar),
35+
scw.WithDefaultOrganizationID(defaultOrganizationID),
3036
scw.WithAuth(registerResponse.AccessKey, registerResponse.SecretKey),
3137
scw.WithUserAgent("sdk-e2e-test"),
3238
)

0 commit comments

Comments
 (0)