File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ mod tests {
106106 /// Test invalid email format
107107 async fn test_invalid_email_format ( ) {
108108 let result = is_disposable_email_mock ( "invalid-email" ) . await ;
109- assert ! ( result. is_err( ) , "Should return error for invalid email format" ) ;
109+ assert ! (
110+ result. is_err( ) ,
111+ "Should return error for invalid email format"
112+ ) ;
110113 }
111114}
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ async fn main() -> std::io::Result<()> {
6767 . service ( SwaggerUi :: new ( "/swagger-ui/{_:.*}" ) . url ( "/api-docs/openapi.json" , openapi) )
6868 } )
6969 . bind ( (
70- "0.0.0.0" , // Changed from 127.0.0.1 to allow external connections
70+ "0.0.0.0" , // Changed from 127.0.0.1 to allow external connections
7171 port. parse :: < u16 > ( ) . expect ( "Failed to parse port" ) ,
7272 ) ) ?
7373 . run ( )
Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ mod tests {
5959 } ;
6060 use serde_json:: json;
6161
62-
63-
6462 /// Helper function to create test Redis cache
6563 fn create_test_redis_cache ( ) -> RedisCache {
6664 // For tests, we'll use a mock that avoids actual Redis connections
You can’t perform that action at this time.
0 commit comments