Lint Tests Passing
All checks were successful
Continuous Integration / CI (push) Successful in 1m40s

Made lint tests pass
This commit is contained in:
sjc
2025-05-08 00:36:03 -04:00
parent 1f5d003470
commit ada6d2d440
14 changed files with 39 additions and 39 deletions

View File

@@ -8,7 +8,7 @@ import (
func TestGetCustomerInfo(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
rw.Write([]byte(`{"context": "test", "data": {"id": "123", "first-name": "John", "last-name": "Doe"}}`))
_,_ = rw.Write([]byte(`{"context": "test", "data": {"id": "123", "first-name": "John", "last-name": "Doe"}}`))
}))
defer server.Close()
@@ -30,7 +30,7 @@ func TestGetCustomerInfo(t *testing.T) {
func TestListCustomerAccounts(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
rw.Write([]byte(`{"context": "test", "data": {"items": [{"account": {"account-number": "123"}}]}}`))
_,_ = rw.Write([]byte(`{"context": "test", "data": {"items": [{"account": {"account-number": "123"}}]}}`))
}))
defer server.Close()
@@ -56,7 +56,7 @@ func TestListCustomerAccounts(t *testing.T) {
func TestGetAccount(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
rw.Write([]byte(`{"context": "test", "data": {"account-number": "123"}}`))
_,_= rw.Write([]byte(`{"context": "test", "data": {"account-number": "123"}}`))
}))
defer server.Close()