diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-04-10 22:13:12 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-04-10 22:13:12 +0100 |
commit | d919f85c19cb754b1507b45e1609292f495ffff9 (patch) | |
tree | 6ce4baf61ecfe3ea952c2a28d2934d2c61f8036e /server/handlers_test.go | |
parent | 30802e07b2d84fbc213b490d3402707dffe60096 (diff) |
remove calls to t.Parallel()
Diffstat (limited to 'server/handlers_test.go')
-rw-r--r-- | server/handlers_test.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/handlers_test.go b/server/handlers_test.go index b2646a3..a08d638 100644 --- a/server/handlers_test.go +++ b/server/handlers_test.go @@ -49,7 +49,6 @@ func newContext(t *testing.T) *appContext { } func TestLoginHandler(t *testing.T) { - t.Parallel() req, _ := http.NewRequest("GET", "/auth/login", nil) resp := httptest.NewRecorder() loginHandler(newContext(t), resp, req) @@ -59,7 +58,6 @@ func TestLoginHandler(t *testing.T) { } func TestCallbackHandler(t *testing.T) { - t.Parallel() req, _ := http.NewRequest("GET", "/auth/callback", nil) req.Form = url.Values{"state": []string{"state"}, "code": []string{"abcdef"}} resp := httptest.NewRecorder() @@ -72,7 +70,6 @@ func TestCallbackHandler(t *testing.T) { } func TestRootHandler(t *testing.T) { - t.Parallel() req, _ := http.NewRequest("GET", "/", nil) resp := httptest.NewRecorder() ctx := newContext(t) @@ -88,7 +85,6 @@ func TestRootHandler(t *testing.T) { } func TestRootHandlerNoSession(t *testing.T) { - t.Parallel() req, _ := http.NewRequest("GET", "/", nil) resp := httptest.NewRecorder() ctx := newContext(t) @@ -99,7 +95,6 @@ func TestRootHandlerNoSession(t *testing.T) { } func TestSignRevoke(t *testing.T) { - t.Parallel() s, _ := json.Marshal(&lib.SignRequest{ Key: string(testdata.Pub), ValidUntil: time.Now().UTC().Add(1 * time.Hour), |