diff --git a/auctioning_platform/auctions/src/domain/entities/auction/tests.rs b/auctioning_platform/auctions/src/domain/entities/auction/tests.rs index 67bd795..c8f5614 100644 --- a/auctioning_platform/auctions/src/domain/entities/auction/tests.rs +++ b/auctioning_platform/auctions/src/domain/entities/auction/tests.rs @@ -40,9 +40,7 @@ mod place_bid { use super::*; #[rstest] - fn should_win_auction_if_is_the_only_bidder_above_starting_price( - mut auction_wo_bids: Auction, - ) { + fn should_win_auction_if_is_the_only_bidder_above_starting_price(mut auction_wo_bids: Auction) { auction_wo_bids .place_bid(BidderId(1), get_dollars("11")) .unwrap(); @@ -51,9 +49,7 @@ mod place_bid { } #[rstest] - fn should_not_be_winning_auction_if_bids_below_starting_price( - mut auction_wo_bids: Auction, - ) { + fn should_not_be_winning_auction_if_bids_below_starting_price(mut auction_wo_bids: Auction) { auction_wo_bids .place_bid(BidderId(1), get_dollars("5")) .unwrap(); diff --git a/auctioning_platform/webapp/tests/api/conftest.rs b/auctioning_platform/webapp/tests/api/conftest.rs index 0394c1b..4f69bbb 100644 --- a/auctioning_platform/webapp/tests/api/conftest.rs +++ b/auctioning_platform/webapp/tests/api/conftest.rs @@ -9,7 +9,7 @@ pub async fn spawn_app() -> Context { let addr = listener.local_addr().unwrap(); tokio::spawn(async move { - axum::serve(listener,webapp::startup::create_app()) + axum::serve(listener, webapp::startup::create_app()) .await .unwrap(); });