File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -153,26 +153,6 @@ mod tests {
153153 Ok ( ( ) )
154154 }
155155
156- #[ actix_web:: test]
157- async fn test_mssql_bit_to_json ( ) -> anyhow:: Result < ( ) > {
158- let Some ( db_url) = db_specific_test ( "mssql" ) else {
159- return Ok ( ( ) ) ;
160- } ;
161- let mut c = sqlx:: AnyConnection :: connect ( & db_url) . await ?;
162- let row = sqlx:: query ( "SELECT CAST(1 AS BIT) as true_bit, CAST(0 AS BIT) as false_bit, CAST(NULL AS BIT) as null_bit" )
163- . fetch_one ( & mut c)
164- . await ?;
165- assert_eq ! (
166- row_to_json( & row) ,
167- serde_json:: json!( {
168- "true_bit" : true ,
169- "false_bit" : false ,
170- "null_bit" : null,
171- } )
172- ) ;
173- Ok ( ( ) )
174- }
175-
176156 #[ actix_web:: test]
177157 async fn test_postgres_types ( ) -> anyhow:: Result < ( ) > {
178158 let Some ( db_url) = db_specific_test ( "postgres" ) else {
You can’t perform that action at this time.
0 commit comments