Skip to content

Commit 05a3765

Browse files
authored
fix(cargo-shuttle): remove integration test example (#1672)
1 parent ad834ae commit 05a3765

File tree

1 file changed

+0
-30
lines changed
  • cargo-shuttle/tests/integration

1 file changed

+0
-30
lines changed

cargo-shuttle/tests/integration/run.rs

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -300,36 +300,6 @@ mod needs_docker {
300300
assert_eq!(request_text, "{\"id\":1,\"note\":\"Deploy to shuttle\"}");
301301
}
302302

303-
#[tokio::test(flavor = "multi_thread")]
304-
async fn poem_postgres() {
305-
let url = cargo_shuttle_run("../examples/poem/postgres", false).await;
306-
let client = reqwest::Client::new();
307-
308-
let post_text = client
309-
.post(format!("{url}/todo"))
310-
.body("{\"note\": \"Deploy to shuttle\"}")
311-
.header("content-type", "application/json")
312-
.send()
313-
.await
314-
.unwrap()
315-
.text()
316-
.await
317-
.unwrap();
318-
319-
assert_eq!(post_text, "{\"id\":1,\"note\":\"Deploy to shuttle\"}");
320-
321-
let request_text = client
322-
.get(format!("{url}/todo/1"))
323-
.send()
324-
.await
325-
.unwrap()
326-
.text()
327-
.await
328-
.unwrap();
329-
330-
assert_eq!(request_text, "{\"id\":1,\"note\":\"Deploy to shuttle\"}");
331-
}
332-
333303
#[tokio::test(flavor = "multi_thread")]
334304
async fn poem_mongodb() {
335305
let url = cargo_shuttle_run("../examples/poem/mongodb", false).await;

0 commit comments

Comments
 (0)