Example #1
0
func newBaseForTest(t *testing.T) *BaseStore {
	base := &BaseStore{}
	base.DB = test.NewDbForTest(t)

	return base
}
Example #2
0
func newUserForTest(t *testing.T) *UserStore {
	return NewUserStore(test.NewDbForTest(t))
}