gpaste/users/userstore_memory_test.go

16 lines
255 B
Go
Raw Normal View History

2022-01-20 02:35:55 +00:00
package users_test
import (
"testing"
"git.t-juice.club/torjus/gpaste/users"
)
func TestMemoryUserStore(t *testing.T) {
newFunc := func() (func(), users.UserStore) {
return func() {}, users.NewMemoryUserStore()
}
RunUserStoreTest(newFunc, t)
}