Commit e31106f5 authored by Julien Schröter's avatar Julien Schröter

Fix string interpolation integer string conversion error

parent 9089fa0d
Pipeline #1932 failed with stages
in 4 minutes and 39 seconds
......@@ -28,7 +28,7 @@ func (env *TestEnv) Login(username, password string, t *testing.T) string {
env.Router.ServeHTTP(w, req)
if http.StatusOK != w.Code {
panic(fmt.Sprintf("Testenvironment: Could not authenticate. code:%s params:%s body%s", string(w.Code), strParams, w.Body))
panic(fmt.Sprintf("Testenvironment: Could not authenticate. code:%d params:%s body%s", w.Code, strParams, w.Body))
}
assert.True(t, w.Body.Len() > 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment