mirror of
https://github.com/volatiletech/authboss.git
synced 2025-01-10 04:17:59 +02:00
14 lines
292 B
Go
14 lines
292 B
Go
|
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.")
|
||
|
}
|
||
|
}
|