File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/FirebirdSql.Data.FirebirdClient.Tests Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,6 @@ public async Task ReturningClauseScalarTest()
503
503
await using ( var cmd = Connection . CreateCommand ( ) )
504
504
{
505
505
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 } ) ;
507
506
var returningValue = ( int ) await cmd . ExecuteScalarAsync ( ) ;
508
507
Assert . AreEqual ( ColumnValue , returningValue ) ;
509
508
}
@@ -516,7 +515,6 @@ public async Task ReturningClauseReaderTest()
516
515
await using ( var cmd = Connection . CreateCommand ( ) )
517
516
{
518
517
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 } ) ;
520
518
await using ( var reader = await cmd . ExecuteReaderAsync ( ) )
521
519
{
522
520
Assert . IsTrue ( await reader . ReadAsync ( ) ) ;
You can’t perform that action at this time.
0 commit comments