Skip to content

Commit 1c5b0c0

Browse files
committed
Update Travis and tests for latest Go versions
1 parent a08964e commit 1c5b0c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/handler/auth_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ func TestUserWithoutAuthentication(t *testing.T) {
187187
ctx := mockContext(nil, "GET", "/admin/")
188188
ctx.App.ServeHTTP(ctx.Response, ctx.Request)
189189

190-
Convey("Status code should be 301 redirection", func() {
191-
So(ctx.Response.(*httptest.ResponseRecorder).Code, ShouldEqual, 301)
190+
Convey("Status code should be 302 redirection", func() {
191+
So(ctx.Response.(*httptest.ResponseRecorder).Code, ShouldEqual, 302)
192192
})
193193
})
194194

0 commit comments

Comments
 (0)