We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a08964e commit 1c5b0c0Copy full SHA for 1c5b0c0
app/handler/auth_test.go
@@ -187,8 +187,8 @@ func TestUserWithoutAuthentication(t *testing.T) {
187
ctx := mockContext(nil, "GET", "/admin/")
188
ctx.App.ServeHTTP(ctx.Response, ctx.Request)
189
190
- Convey("Status code should be 301 redirection", func() {
191
- So(ctx.Response.(*httptest.ResponseRecorder).Code, ShouldEqual, 301)
+ Convey("Status code should be 302 redirection", func() {
+ So(ctx.Response.(*httptest.ResponseRecorder).Code, ShouldEqual, 302)
192
})
193
194
0 commit comments