summaryrefslogtreecommitdiff
path: root/internal/handlers/handler_firstfactor_test.go
diff options
context:
space:
mode:
authorClement Michaud <clement.michaud34@gmail.com>2020-01-17 23:55:02 +0100
committerClément Michaud <clement.michaud34@gmail.com>2020-01-18 00:12:36 +0100
commitece4423d3326678c534738801c9d4f5f98257fac (patch)
tree1799f6a19b76ec1cb97743232224dd2b3edfcdb2 /internal/handlers/handler_firstfactor_test.go
parent841de2b75dacf12ffa0d0b8907d069e004657f30 (diff)
Add back wait block in buildkite pipeline.
Diffstat (limited to 'internal/handlers/handler_firstfactor_test.go')
-rw-r--r--internal/handlers/handler_firstfactor_test.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/handlers/handler_firstfactor_test.go b/internal/handlers/handler_firstfactor_test.go
index 6129592a3..655d20452 100644
--- a/internal/handlers/handler_firstfactor_test.go
+++ b/internal/handlers/handler_firstfactor_test.go
@@ -171,10 +171,10 @@ func (s *FirstFactorSuite) TestShouldAuthenticateUserWithRememberMeChecked() {
Return(nil)
s.mock.Ctx.Request.SetBodyString(`{
- "username": "test",
- "password": "hello",
- "keepMeLoggedIn": true
- }`)
+ "username": "test",
+ "password": "hello",
+ "keepMeLoggedIn": true
+ }`)
FirstFactorPost(s.mock.Ctx)
// Respond with 200.
@@ -210,10 +210,10 @@ func (s *FirstFactorSuite) TestShouldAuthenticateUserWithRememberMeUnchecked() {
Return(nil)
s.mock.Ctx.Request.SetBodyString(`{
- "username": "test",
- "password": "hello",
- "keepMeLoggedIn": false
- }`)
+ "username": "test",
+ "password": "hello",
+ "keepMeLoggedIn": false
+ }`)
FirstFactorPost(s.mock.Ctx)
// Respond with 200.