MCPcopy Create free account
hub / github.com/emwalker/digraph / root_topic_created

Function root_topic_created

backend/tests/git/repo.rs:129–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127
128 #[test]
129 fn root_topic_created() {
130 let f = Fixtures::copy("simple");
131 let actor = &f.git.viewer;
132
133 let result = ensure(&f, &vec![], actor, &actor.user_id).unwrap();
134
135 let root = ExternalId::root_topic();
136 let repo_id = result.created_repo_id.unwrap();
137 let topic = f.git.fetch_topic(repo_id, &root).unwrap();
138 assert_eq!(topic.name(Locale::EN), "Everything");
139 }
140
141 #[test]
142 fn view_stats() {

Callers

nothing calls this directly

Calls 2

ensureFunction · 0.85
fetch_topicMethod · 0.45

Tested by

no test coverage detected