mirror of
https://github.com/volatiletech/authboss.git
synced 2025-07-09 01:05:31 +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.")
|
||
|
}
|
||
|
}
|