1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-09-16 09:06:20 +02:00

Fix unused variable in test

This commit is contained in:
Aaron L
2018-05-03 10:10:17 -07:00
parent 5d2a5bd564
commit 3ab0effe9c

View File

@@ -182,6 +182,10 @@ func TestRegisterPostSuccess(t *testing.T) {
if resp.Code != http.StatusTeapot {
t.Error("code was wrong:", resp.Code)
}
if !afterCalled {
t.Error("the after handler should have been called")
}
})
}