mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Add fixtures for testing
This commit is contained in:
parent
4efac4a239
commit
acc78e7080
12 changed files with 257 additions and 34 deletions
|
@ -12,6 +12,10 @@ type AccountTestService struct {
|
|||
acc *accountdata.AccountKeys
|
||||
}
|
||||
|
||||
func NewWithAcc(acc *accountdata.AccountKeys) *AccountTestService {
|
||||
return &AccountTestService{acc: acc}
|
||||
}
|
||||
|
||||
func (s *AccountTestService) Init(a *app.App) (err error) {
|
||||
if s.acc != nil {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue