feat: Updated test/e2e/e2e.go

pull/1853/head
sweep-ai[bot] 2 years ago committed by GitHub
parent faf62cf2eb
commit 6ee80d66aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -42,7 +42,10 @@ func RunE2ETests(t *testing.T) {
if err != nil {
t.Fatalf("Failed to get user token: %v", err)
}
headers := make(map[string]string)
headers := map[string]string{
"operationID": operationID,
"token": token,
}
if err != nil {
headers = make(map[string]string)
}
@ -53,7 +56,7 @@ func RunE2ETests(t *testing.T) {
headers["token"] = token
}
"operationID": operationID,
}
// Example of getting user info

Loading…
Cancel
Save