| 142 | } |
| 143 | |
| 144 | fn make_topic(f: &Fixtures, parent: &ExternalId, name: &str) -> RepoTopic { |
| 145 | let topic_id = parse_id("dPqrU4sZaPkNZEDyr9T68G4RJYV8bncmIXumedBNls9F994v8poSbxTo7dKK3Vhi"); |
| 146 | |
| 147 | let UpsertTopicResult { repo_topic, .. } = UpsertTopic { |
| 148 | actor: actor(), |
| 149 | locale: Locale::EN, |
| 150 | name: name.to_owned(), |
| 151 | repo_id: RepoId::wiki(), |
| 152 | on_matching_synonym: OnMatchingSynonym::Update(topic_id), |
| 153 | parent_topic_id: parent.to_owned(), |
| 154 | } |
| 155 | .call(f.mutation(), &redis::Noop) |
| 156 | .unwrap(); |
| 157 | |
| 158 | repo_topic.unwrap() |
| 159 | } |
| 160 | |
| 161 | #[test] |
| 162 | fn change_entries_updated() { |