File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ func NewClient() Client {
74
74
httpClient, err := getDefaultClient(defaultTimeout)
75
75
if err != nil { panic(err) }
76
76
return Client {
77
- endpoint: "https://{{ sdk . gitUserName | url_encode }}.io/v1 ",
77
+ endpoint: "{{ spec . endpoint }} ",
78
78
client: httpClient,
79
79
timeout: defaultTimeout,
80
80
headers: headers,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ abstract class Base extends TestCase
36
36
];
37
37
38
38
const EXTENDED_GENERAL_RESPONSES = [
39
- 'Download test passed. ' ,
39
+ 'GET:/v1/mock/tests/general/download: passed ' ,
40
40
];
41
41
42
42
const COOKIE_RESPONSES = [
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ func main() {
16
16
if err != nil {
17
17
panic (err )
18
18
}
19
- client .SetEndpoint ("https://appwrite.io/v1" )
20
19
client .AddHeader ("Origin" , "http://localhost" )
21
20
fmt .Print ("\n \n Test Started\n " )
22
21
testFooService (client , stringInArray )
You can’t perform that action at this time.
0 commit comments