From 33169dd49a3e91967f998b6af328cbfebeb20e03 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 11 Dec 2024 23:09:10 +0000 Subject: [PATCH] test: actually insert pixel app into HTTP cache --- src/net/http.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/net/http.rs b/src/net/http.rs index 8006ba267..814fe57ac 100644 --- a/src/net/http.rs +++ b/src/net/http.rs @@ -405,10 +405,15 @@ mod tests { ); http_cache_put(t, xdc_editor_url, &xdc_response).await?; + http_cache_put(t, xdc_pixel_url, &xdc_response).await?; assert_eq!( http_cache_get(t, xdc_editor_url).await?, Some(xdc_response.clone()) ); + assert_eq!( + http_cache_get(t, xdc_pixel_url).await?, + Some(xdc_response.clone()) + ); assert_eq!( http_cache_get(t, "https://webxdc.org/").await?,