(
service: &LocalService,
reference: &RepositoryRef,
source: &str,
)
| 146 | } |
| 147 | |
| 148 | async fn prepare( |
| 149 | service: &LocalService, |
| 150 | reference: &RepositoryRef, |
| 151 | source: &str, |
| 152 | ) -> PrepareSourceReviewResponse { |
| 153 | call( |
| 154 | service, |
| 155 | "ReviewService", |
| 156 | "PrepareSourceReview", |
| 157 | &PrepareSourceReviewRequest { |
| 158 | repository: Some(reference.clone()), |
| 159 | source_intent: source.into(), |
| 160 | ..Default::default() |
| 161 | }, |
| 162 | ) |
| 163 | .await |
| 164 | .unwrap() |
| 165 | } |
| 166 | |
| 167 | #[tokio::test] |
| 168 | async fn readonly_prepare_render_and_inspect_match_shared_rust_without_database_mutation() { |
no test coverage detected