try /transactions too
Some checks failed
cicd / ci (push) Failing after 19s

This commit is contained in:
Bel LaPointe
2025-05-23 19:44:24 -06:00
parent daa446cc02
commit bae33f8c60

View File

@@ -24,7 +24,13 @@ func TestIntegration(t *testing.T) {
}
//curl --cert certificate.pem --cert-key private_key.pem --auth test_token_bfu2cyvq3il6o: https://api.teller.io/accounts
req, err := http.NewRequest(http.MethodGet, "https://api.teller.io/accounts", nil)
for _, url := range []string{
"https://api.teller.io/accounts",
"https://api.teller.io/accounts/acc_pdvv4810fi9hmrcn6g000/transactions",
} {
url := url
t.Run(url, func(t *testing.T) {
req, err := http.NewRequest(http.MethodGet, url, nil)
if err != nil {
t.Fatal(err)
}
@@ -42,4 +48,6 @@ func TestIntegration(t *testing.T) {
}
t.Logf("(%d) %s", resp.StatusCode, body)
})
}
}