mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 18:06:35 +03:00
test: actually insert pixel app into HTTP cache
This commit is contained in:
@@ -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?,
|
||||
|
||||
Reference in New Issue
Block a user