Skip to content

fix(test): pass http_client to ApplicationContext::new in queue test - #268

Open
ftong2010 wants to merge 1 commit into
restsend:mainfrom
ftong2010:fix/appcontext-test-arg
Open

fix(test): pass http_client to ApplicationContext::new in queue test#268
ftong2010 wants to merge 1 commit into
restsend:mainfrom
ftong2010:fix/appcontext-test-arg

Conversation

@ftong2010

Copy link
Copy Markdown

Problem

cargo test --lib does not compile on main: ApplicationContext::new
gained an http_client parameter, but one call site in
src/call/app/queue_test.rs was not updated (the other call sites were).

Fix

Pass reqwest::Client::new() as the fourth argument at the stale call
site. One line, test-only.

Verification

cargo test --lib now compiles (same pass/fail set as before the
signature change introduced the breakage).

ApplicationContext::new gained an http_client parameter but one queue
test call site was not updated, so `cargo test --lib` fails to compile
on main.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant