format
This commit is contained in:
parent
fd8c97600a
commit
8dff807d03
1 changed files with 9 additions and 1 deletions
|
|
@ -16,7 +16,15 @@ async fn test_quick_dev() -> Result<()> {
|
||||||
|
|
||||||
hc.do_get("/src/blub.rs").await?.print().await?;
|
hc.do_get("/src/blub.rs").await?.print().await?;
|
||||||
|
|
||||||
let req_login = hc.do_post("/api/login", json!({"username": "demo1", "password": "demo1"}));
|
let req_login = hc.do_post(
|
||||||
|
"/api/login",
|
||||||
|
json!(
|
||||||
|
{
|
||||||
|
"username": "demo1",
|
||||||
|
"password": "demo1"
|
||||||
|
}
|
||||||
|
)
|
||||||
|
);
|
||||||
req_login.await?.print().await?;
|
req_login.await?.print().await?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue