1
0
Fork 0
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:
mcrakhman 2024-06-15 21:51:50 +02:00
parent 4efac4a239
commit acc78e7080
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
12 changed files with 257 additions and 34 deletions

View file

@ -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