google: Changes required to get AWS working in manual testing

This commit is contained in:
Ryan Kohler
2021-02-09 09:33:49 -08:00
parent 010130855d
commit 1aae076a90
6 changed files with 13 additions and 9 deletions

View File

@@ -10,6 +10,7 @@ import (
"fmt"
"net/http"
"net/http/httptest"
neturl "net/url"
"reflect"
"strings"
"testing"
@@ -527,7 +528,7 @@ func getExpectedSubjectToken(url, region, accessKeyID, secretAccessKey, security
})
str, _ := json.Marshal(result)
return string(str)
return neturl.QueryEscape(string(str))
}
func TestAwsCredential_BasicRequest(t *testing.T) {