Refactor: migrate discordbot
All checks were successful
All checks were successful
This commit is contained in:
@@ -15,7 +15,7 @@ var aliases []aliasPayload
|
||||
func Test_04_GetAliases(t *testing.T) {
|
||||
resp, err := client.R().
|
||||
SetResult(&aliases).
|
||||
Get("http://localhost:8080/api/aliases")
|
||||
Get("/api/aliases")
|
||||
if err != nil || resp.StatusCode() != http.StatusOK {
|
||||
t.Logf("%+v", resp)
|
||||
t.Fatal("failed to get aliases")
|
||||
|
||||
Reference in New Issue
Block a user