Fix tests.

This commit is contained in:
Jacob Hoffman-Andrews
2020-07-02 23:07:49 -07:00
parent b53de7a7ed
commit 7fce93d1c8
2 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ fn escape_path() {
#[test]
fn request_debug() {
let req = get("/my/page")
let req = get("http://localhost/my/page")
.set("Authorization", "abcdef")
.set("Content-Length", "1234")
.set("Content-Type", "application/json")
@@ -136,7 +136,7 @@ fn request_debug() {
Content-Length: 1234, Content-Type: application/json])"
);
let req = get("/my/page?q=z")
let req = get("http://localhost/my/page?q=z")
.query("foo", "bar baz")
.set("Authorization", "abcdef")
.build();