@@ -20,14 +20,15 @@ func TestOauthCheckoutSdks(t *testing.T) {
2020 WithEnvironment (configuration .Sandbox ()).
2121 Build ()
2222
23- var oauthApiSubdomain , _ = checkout .Builder ().
24- OAuth ().
25- WithClientCredentials (
26- os .Getenv ("CHECKOUT_DEFAULT_OAUTH_CLIENT_ID" ),
27- os .Getenv ("CHECKOUT_DEFAULT_OAUTH_CLIENT_SECRET" )).
28- WithEnvironment (configuration .Sandbox ()).
29- WithEnvironmentSubdomain ("123dmain" ).
30- Build ()
23+ // Not ready yet to tests with subdomains
24+ // var oauthApiSubdomain, _ = checkout.Builder().
25+ // OAuth().
26+ // WithClientCredentials(
27+ // os.Getenv("CHECKOUT_DEFAULT_OAUTH_CLIENT_ID"),
28+ // os.Getenv("CHECKOUT_DEFAULT_OAUTH_CLIENT_SECRET")).
29+ // WithEnvironment(configuration.Sandbox()).
30+ // WithEnvironmentSubdomain("123dmain").
31+ // Build()
3132
3233 var oauthApiBad , _ = checkout .Builder ().
3334 OAuth ().
@@ -49,13 +50,14 @@ func TestOauthCheckoutSdks(t *testing.T) {
4950 assert .NotNil (t , oauthApi )
5051 },
5152 },
52- {
53- name : "should create a oauth checkout sdk api object with valid subdomain" ,
54- oauthApi : oauthApiSubdomain ,
55- checker : func (token * nas.Api , err error ) {
56- assert .NotNil (t , oauthApiSubdomain )
57- },
58- },
53+ // Not ready yet to tests with subdomains
54+ // {
55+ // name: "should create a oauth checkout sdk api object with valid subdomain",
56+ // oauthApi: oauthApiSubdomain,
57+ // checker: func(token *nas.Api, err error) {
58+ // assert.NotNil(t, oauthApiSubdomain)
59+ // },
60+ // },
5961 {
6062 name : "should fail a oauth checkout sdk api object" ,
6163 oauthApi : oauthApiBad ,
0 commit comments