mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
The MockStorage holds an inventory of repositories and their identities but when asking for a MockRepository, none of this information is transferred. Add `id` and `doc` fields to MockRepository for defining some of its functionality. In addition, add a generator for a nonempty MockStorage to use in tests that will expect the storage to be populated. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett