Complete custodial registration hack

This commit is contained in:
lash
2024-11-03 23:53:36 +00:00
parent 6c4f91b0b8
commit 6f352e7cf2
5 changed files with 120 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ func(ss *TestStorageService) GetUserdataDb(ctx context.Context) (db.Db, error) {
// GetPersister implements urdt/ussd/common.StorageServices.
func(ts *TestStorageService) GetPersister(ctx context.Context) (*persist.Persister, error) {
return nil, errors.New("not implemented")
return persist.NewPersister(ts.Store), nil
}
// GetResource implements urdt/ussd/common.StorageServices.