File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
cargo-shuttle/tests/integration Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments