diff options
Diffstat (limited to 'internal/handlers/handler_firstfactor_test.go')
| -rw-r--r-- | internal/handlers/handler_firstfactor_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/handlers/handler_firstfactor_test.go b/internal/handlers/handler_firstfactor_test.go index bf332ba34..fe26016a7 100644 --- a/internal/handlers/handler_firstfactor_test.go +++ b/internal/handlers/handler_firstfactor_test.go @@ -65,7 +65,7 @@ func (s *FirstFactorSuite) TestShouldFailIfUserProviderCheckPasswordFail() { Banned: false, Time: s.mock.Clock.Now(), Type: regulation.AuthType1FA, - RemoteIP: models.NewIPAddressFromString("0.0.0.0"), + RemoteIP: models.NewNullIPFromString("0.0.0.0"), })) s.mock.Ctx.Request.SetBodyString(`{ @@ -93,7 +93,7 @@ func (s *FirstFactorSuite) TestShouldCheckAuthenticationIsNotMarkedWhenProviderC Banned: false, Time: s.mock.Clock.Now(), Type: regulation.AuthType1FA, - RemoteIP: models.NewIPAddressFromString("0.0.0.0"), + RemoteIP: models.NewNullIPFromString("0.0.0.0"), })) s.mock.Ctx.Request.SetBodyString(`{ @@ -119,7 +119,7 @@ func (s *FirstFactorSuite) TestShouldCheckAuthenticationIsMarkedWhenInvalidCrede Banned: false, Time: s.mock.Clock.Now(), Type: regulation.AuthType1FA, - RemoteIP: models.NewIPAddressFromString("0.0.0.0"), + RemoteIP: models.NewNullIPFromString("0.0.0.0"), })) s.mock.Ctx.Request.SetBodyString(`{ |
