Skip to content

Commit

Permalink
chore: remove redundant sprinf
Browse files Browse the repository at this point in the history
  • Loading branch information
taciturnaxolotl committed Sep 26, 2024
1 parent 70902f5 commit 4edae8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middlewares/authenticate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestAuthenticateMiddleware_tryGetUserByApiKeyHeader_Invalid(t *testing.T) {
mockRequest := &http.Request{
Header: http.Header{
// 'Basic' prefix missing here
"Authorization": []string{fmt.Sprintf("%s", testToken)},
"Authorization": []string{testToken},
},
}

Expand Down

0 comments on commit 4edae8e

Please sign in to comment.