Skip to content

Commit

Permalink
added method to output, badges
Browse files Browse the repository at this point in the history
  • Loading branch information
rschmied committed Oct 26, 2022
1 parent 6d77fab commit f9dfef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CodeQL](https://github.com/rschmied/mockresponder/actions/workflows/codeql.yml/badge.svg)](https://github.com/rschmied/mockresponder/actions/workflows/codeql.yml) [![Go](https://github.com/rschmied/mockresponder/actions/workflows/go.yml/badge.svg)](https://github.com/rschmied/mockresponder/actions/workflows/go.yml) [![Coverage Status](https://coveralls.io/repos/github/rschmied/mockresponder/badge.svg?branch=main)](https://coveralls.io/github/rschmied/mockresponder?branch=main)
[![Go Reference](https://pkg.go.dev/badge/github.com/rschmied/mockresponder.svg)](https://pkg.go.dev/github.com/rschmied/mockresponder)[![CodeQL](https://github.com/rschmied/mockresponder/actions/workflows/codeql.yml/badge.svg)](https://github.com/rschmied/mockresponder/actions/workflows/codeql.yml) [![Go](https://github.com/rschmied/mockresponder/actions/workflows/go.yml/badge.svg)](https://github.com/rschmied/mockresponder/actions/workflows/go.yml) [![Coverage Status](https://coveralls.io/repos/github/rschmied/mockresponder/badge.svg?branch=main)](https://coveralls.io/github/rschmied/mockresponder?branch=main)[![Go Report Card](https://goreportcard.com/badge/github.com/rschmied/mockresponder)](https://goreportcard.com/report/github.com/rschmied/mockresponder)

# mockresponder

Expand Down
2 changes: 1 addition & 1 deletion mockresponder.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func defaultDoFunc(req *http.Request) (*http.Response, error) {
panic("returned value is not a MockResponder!")
}

log.Printf("mock request url %s", sanitizeURL(req.URL.String()))
log.Printf("mock request url %s %s", req.Method, sanitizeURL(req.URL.String()))
if mc == nil {
panic("no data")
}
Expand Down

0 comments on commit f9dfef3

Please sign in to comment.