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 |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||