File tree Expand file tree Collapse file tree
src/FirebirdSql.Data.FirebirdClient.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -503,7 +503,6 @@ public async Task ReturningClauseScalarTest()
503503 await using ( var cmd = Connection . CreateCommand ( ) )
504504 {
505505 cmd . CommandText = string . Format ( "update TEST set int_field = '{0}' where int_field = 1 returning int_field" , ColumnValue ) ;
506- cmd . Parameters . Add ( new FbParameter ( ) { Direction = ParameterDirection . Output } ) ;
507506 var returningValue = ( int ) await cmd . ExecuteScalarAsync ( ) ;
508507 Assert . AreEqual ( ColumnValue , returningValue ) ;
509508 }
@@ -516,7 +515,6 @@ public async Task ReturningClauseReaderTest()
516515 await using ( var cmd = Connection . CreateCommand ( ) )
517516 {
518517 cmd . CommandText = string . Format ( "update TEST set int_field = '{0}' where int_field = 1 returning int_field" , ColumnValue ) ;
519- cmd . Parameters . Add ( new FbParameter ( ) { Direction = ParameterDirection . Output } ) ;
520518 await using ( var reader = await cmd . ExecuteReaderAsync ( ) )
521519 {
522520 Assert . IsTrue ( await reader . ReadAsync ( ) ) ;
You can’t perform that action at this time.
0 commit comments