Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

chore: update dependencies to address audit issue #12

Merged
merged 13 commits into from
Feb 16, 2021
Prev Previous commit
Next Next commit
f remove dbgs
  • Loading branch information
jrconlin committed Feb 10, 2021
commit 5cd89a26da204b61cc59196ca65b0b2b2ae07c0e
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ reqwest = { version = "0.10", features = ["json"] } # 0.11+ conflicts with actix
serde = "1.0"
sentry = "0.22"
serde_json = "1.0"
slog = { version = "2.7", features = ["max_level_info", "release_max_level_info", "dynamic-keys"] }
slog = { version = "2.7", features = ["max_level_trace", "release_max_level_info", "dynamic-keys"] }
slog-async = "2.6"
slog-envlogger = "2.2.0"
slog-mozlog-json = "0.1"
Expand Down
4 changes: 0 additions & 4 deletions src/web/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,13 @@ async fn basic() {
adm_endpoint_url: format!("http://{}:{}/?partner=foo&sub1=bar", addr.ip(), addr.port()),
..get_test_settings()
};
println!("trying app?");
let mut app = init_app!(settings).await;
println!("started app?");

let req = test::TestRequest::get()
.uri("/v1/tiles?country=UK&placement=newtab")
.header(header::USER_AGENT, UA)
.to_request();
dbg!("Trying request?");
let resp = test::call_service(&mut app, req).await;
dbg!(&resp);
assert_eq!(resp.status(), StatusCode::OK);

let content_type = resp.headers().get(header::CONTENT_TYPE);
Expand Down