mirror of
https://github.com/volatiletech/authboss.git
synced 2024-11-24 08:42:17 +02:00
Fix unused variable in test
This commit is contained in:
parent
5d2a5bd564
commit
3ab0effe9c
@ -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")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user