diff --git a/modules/analysis/src/endpoints.rs b/modules/analysis/src/endpoints.rs index 3e917dcd..43fa9056 100644 --- a/modules/analysis/src/endpoints.rs +++ b/modules/analysis/src/endpoints.rs @@ -284,7 +284,7 @@ mod test { ); assert_eq!( response["items"][0]["ancestors"][0]["purl"], - "pkg:maven/com.redhat.quarkus.platform/quarkus-bom@3.2.11.Final-redhat-00001?type=pom&repository_url=https://maven.repository.redhat.com/ga/" + "pkg:maven/com.redhat.quarkus.platform/quarkus-bom@3.2.11.Final-redhat-00001?type=pom&repository_url=https%3a%2f%2fmaven.repository.redhat.com%2fga%2f" ); assert_eq!(&response["total"], 2); diff --git a/modules/analysis/src/service.rs b/modules/analysis/src/service.rs index aac3e980..bae2999a 100644 --- a/modules/analysis/src/service.rs +++ b/modules/analysis/src/service.rs @@ -1109,7 +1109,7 @@ mod test { .unwrap(); assert_eq!(analysis_graph.items.last().unwrap().ancestors.last().unwrap().purl, - "pkg:maven/com.redhat.quarkus.platform/quarkus-bom@3.2.12.Final-redhat-00002?type=pom&repository_url=https://maven.repository.redhat.com/ga/".to_string() + "pkg:maven/com.redhat.quarkus.platform/quarkus-bom@3.2.12.Final-redhat-00002?type=pom&repository_url=https%3a%2f%2fmaven.repository.redhat.com%2fga%2f".to_string() ); assert_eq!( analysis_graph