test: actually insert pixel app into HTTP cache

This commit is contained in:
link2xt
2024-12-11 23:09:10 +00:00
committed by l
parent ee20887782
commit 33169dd49a

View File

@@ -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?,