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:
@@ -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")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user