1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix failing vweb_test.v

This commit is contained in:
Delyan Angelov
2021-08-17 18:36:10 +03:00
parent e1c762a616
commit f96b81b53a
4 changed files with 7 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ fn http_fetch_mock(_methods []string, _config FetchConfig) ?[]Response {
for method in methods {
lmethod := method.to_lower()
config.method = method_from_str(method)
res := fetch(url + lmethod, config) ?
res := fetch(FetchConfig{ ...config, url: url + lmethod }) ?
// TODO
// body := json.decode(HttpbinResponseBody,res.text)?
result << res