Skip to content

Commit

Permalink
Test coverage (#23)
Browse files Browse the repository at this point in the history
* Adding tests for custom token and static token auth

* Adding coverage for custom token error and error creating new get request
  • Loading branch information
paulholiday authored Feb 17, 2023
1 parent d185aeb commit 5e318ef
Show file tree
Hide file tree
Showing 2 changed files with 213 additions and 54 deletions.
2 changes: 2 additions & 0 deletions seeder/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ func (r *SeederImpl) get(ctx context.Context, action *Action) ([]byte, error) {

if err != nil {
r.log.Debugf("failed to build request: %v", err)
r.log.Error(err)
return nil, err
}

return r.do(req, action)
Expand Down
Loading

0 comments on commit 5e318ef

Please sign in to comment.