login fix

pull/727/head
hunterlong 2020-07-04 12:18:56 -07:00
parent 0a91e49416
commit 0229dbc59a
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
# 0.90.57 (07-04-2020)
- Fixed login issue
# 0.90.56 (06-25-2020)
- Modified metrics now include service name for each service metric
- Added switch for true/false notifier values

View File

@ -264,7 +264,7 @@ func TestMainApiRoutes(t *testing.T) {
type HttpFuncTest func(*testing.T) error
type ResponseFunc func(*testing.T, []byte) error
type ResponseFunc func(*httptest.ResponseRecorder, *testing.T, []byte) error
// HTTPTest contains all the parameters for a HTTP Unit Test
type HTTPTest struct {
@ -350,7 +350,7 @@ func RunHTTPTest(test HTTPTest, t *testing.T) (string, *testing.T, error) {
assert.Nil(t, err)
}
if test.ResponseFunc != nil {
err := test.ResponseFunc(t, body)
err := test.ResponseFunc(rr, t, body)
assert.Nil(t, err)
}

View File

@ -1 +1 @@
0.90.56
0.90.57