@@ -270,7 +270,7 @@ async fn bad_id() {
270270
271271#[ graph:: test]
272272async fn find ( ) {
273- run_test ( async |mut conn, layout| {
273+ run_test ( async |conn, layout| {
274274 async fn find_entity (
275275 conn : & mut AsyncPgConnection ,
276276 layout : & Layout ,
@@ -301,7 +301,7 @@ async fn find() {
301301
302302#[ graph:: test]
303303async fn find_many ( ) {
304- run_test ( async |mut conn, layout| {
304+ run_test ( async |conn, layout| {
305305 const ID : & str = "0xdeadbeef" ;
306306 const NAME : & str = "Beef" ;
307307 const ID2 : & str = "0xdeadbeef02" ;
@@ -335,7 +335,7 @@ async fn find_many() {
335335
336336#[ graph:: test]
337337async fn update ( ) {
338- run_test ( async |mut conn, layout| {
338+ run_test ( async |conn, layout| {
339339 insert_entity ( conn, layout, "Thing" , BEEF_ENTITY . clone ( ) ) . await ;
340340
341341 // Update the entity
@@ -366,7 +366,7 @@ async fn update() {
366366
367367#[ graph:: test]
368368async fn delete ( ) {
369- run_test ( async |mut conn, layout| {
369+ run_test ( async |conn, layout| {
370370 const TWO_ID : & str = "deadbeef02" ;
371371
372372 insert_entity ( conn, layout, "Thing" , BEEF_ENTITY . clone ( ) ) . await ;
@@ -483,7 +483,7 @@ async fn query() {
483483 . collect :: < Vec < _ > > ( )
484484 }
485485
486- run_test ( async |mut conn, layout| {
486+ run_test ( async |conn, layout| {
487487 // This test exercises the different types of queries we generate;
488488 // the type of query is based on knowledge of what the test data
489489 // looks like, not on just an inference from the GraphQL model.
0 commit comments