File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ func TestConfigure(t *testing.T) {
4646 desc : "It gets the default API base URL." ,
4747 args : []string {"fakeapp" , "configure" },
4848 existingAPICfg : & config.APIConfig {},
49- expectedAPICfg : & config.APIConfig {BaseURL : "https://v2 .exercism.io/api/v1" },
49+ expectedAPICfg : & config.APIConfig {BaseURL : "https://mentors-beta .exercism.io/api/v1" },
5050 },
5151 }
5252
Original file line number Diff line number Diff line change 88)
99
1010var (
11- defaultBaseURL = "https://v2 .exercism.io/api/v1"
11+ defaultBaseURL = "https://mentors-beta .exercism.io/api/v1"
1212 defaultEndpoints = map [string ]string {
1313 "download" : "/solutions/%s" ,
1414 "submit" : "/solutions/%s" ,
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func TestAPIConfigSetDefaults(t *testing.T) {
4242 // All defaults.
4343 cfg := & APIConfig {}
4444 cfg .SetDefaults ()
45- assert .Equal (t , "https://v2 .exercism.io/api/v1" , cfg .BaseURL )
45+ assert .Equal (t , "https://mentors-beta .exercism.io/api/v1" , cfg .BaseURL )
4646 assert .Equal (t , "/solutions/%s" , cfg .Endpoints ["download" ])
4747 assert .Equal (t , "/solutions/%s" , cfg .Endpoints ["submit" ])
4848
@@ -62,7 +62,7 @@ func TestAPIConfigSetDefaults(t *testing.T) {
6262 },
6363 }
6464 cfg .SetDefaults ()
65- assert .Equal (t , "https://v2 .exercism.io/api/v1" , cfg .BaseURL )
65+ assert .Equal (t , "https://mentors-beta .exercism.io/api/v1" , cfg .BaseURL )
6666 assert .Equal (t , "/download/%d" , cfg .Endpoints ["download" ])
6767 assert .Equal (t , "/solutions/%s" , cfg .Endpoints ["submit" ])
6868}
You can’t perform that action at this time.
0 commit comments