Пример #1
0
func newBaseForTest(t *testing.T) *BaseStore {
	base := &BaseStore{}
	base.DB = test.NewDbForTest(t)

	return base
}
Пример #2
0
func newUserForTest(t *testing.T) *UserStore {
	return NewUserStore(test.NewDbForTest(t))
}