Skip to content

Commit

Permalink
Merge pull request #41 from Zapharaos/fix
Browse files Browse the repository at this point in the history
fix(test): ci coverage command + minor bad test assertion
  • Loading branch information
Zapharaos authored Feb 10, 2025
2 parents 7443941 + 5566fc6 commit e8c69c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions internal/auth/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e8c69c7

Please sign in to comment.