1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-01-10 04:17:59 +02:00
authboss/lock/lock_test.go

14 lines
292 B
Go
Raw Normal View History

package lock
import "testing"
func TestStorage(t *testing.T) {
storage := L.Storage()
if _, ok := storage[UserAttemptNumber]; !ok {
t.Error("Expected attempt number storage option.")
}
if _, ok := storage[UserAttemptTime]; !ok {
t.Error("Expected attempt number time option.")
}
}