diff --git a/.github/workflows/golang.yml b/.github/workflows/golang.yml index a304b16..3aaf9ca 100644 --- a/.github/workflows/golang.yml +++ b/.github/workflows/golang.yml @@ -31,7 +31,7 @@ jobs: run: go build -v ./... - name: Test with coverage - run: go test -race -suffle=on -v -coverprofile=coverage.out ./... + run: go test ./... -race -shuffle=on -coverprofile coverage.out - name: Upload results to Codecov uses: codecov/codecov-action@v5 diff --git a/README.md b/README.md index c660347..7531478 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ # fihub-backend +The backend handles users' requests to list their financial transactions and provide analysis. It connects to brokers selected by the users to retrieve their assets and transactions. + ## Development ### Docker diff --git a/internal/auth/auth_test.go b/internal/auth/auth_test.go index 6cebc33..8c1ee65 100644 --- a/internal/auth/auth_test.go +++ b/internal/auth/auth_test.go @@ -118,9 +118,6 @@ func TestGetToken(t *testing.T) { assert.Fail(t, "failed to decode response") } err = json.Unmarshal(data, &token) - if err != nil { - assert.Fail(t, "failed to decode response") - } // Check the response assert.Equal(t, tt.status, response.StatusCode)