Skip to content

Commit

Permalink
revert test change
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Jan 2, 2025
1 parent 7e2a6cb commit 8125cb0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/web/statics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,7 @@ mod tests {
let web = env.web_app().await;

let resp = web.get(path).await?;
if !resp.status().is_success() {
let status = resp.status();
dbg!(&resp.text().await);
assert!(status.is_success(), "{}", status);
panic!("as");
}
assert!(resp.status().is_success());
resp.assert_cache_control(CachePolicy::ForeverInCdnAndBrowser, &env.config());
assert_eq!(
resp.headers().get("Content-Type"),
Expand Down

0 comments on commit 8125cb0

Please sign in to comment.