File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Ydb.Sdk.Ado.Specification.Tests Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ protected override async Task OnDisposeAsync()
329329 connection . ConnectionString = ConnectionString ;
330330 await connection . OpenAsync ( ) ;
331331
332- await new YdbCommand { Connection = connection , CommandText = $ "DROP TABLE `select_value`" }
332+ await new YdbCommand { Connection = connection , CommandText = "DROP TABLE `select_value`" }
333333 . ExecuteNonQueryAsync ( ) ;
334334 }
335335
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ public string CreateSelectSql(byte[] value) =>
3535 } ) ;
3636
3737
38- public string SelectNoRows => $ "SELECT 1 FROM `select_value` WHERE 0 = 1;";
38+ public string SelectNoRows => "SELECT 1 FROM `select_value` WHERE 0 = 1;" ;
3939
4040 public System . Type NullValueExceptionType => typeof ( InvalidCastException ) ;
4141
42- public string DeleteNoRows => $ "DELETE FROM `select_value` WHERE 0 = 1;";
42+ public string DeleteNoRows => "DELETE FROM `select_value` WHERE 0 = 1;" ;
4343}
Original file line number Diff line number Diff line change @@ -5,11 +5,12 @@ namespace Ydb.Sdk.Ado.Tests;
55public class YdbAdoUserPasswordTests : TestBase
66{
77 private const string User = "kurdyukovkirya" ;
8-
8+
99 [ Fact ]
1010 public async Task Authentication_WhenUserAndPassword_ReturnValidConnection ( )
1111 {
12- await using var userPasswordConnection = new YdbConnection ( $ "{ ConnectionString } ;User={ User } ;Password=password;") ;
12+ await using var userPasswordConnection =
13+ new YdbConnection ( $ "{ ConnectionString } ;User={ User } ;Password=password;") ;
1314 await userPasswordConnection . OpenAsync ( ) ;
1415 Assert . Equal ( 3 , await new YdbCommand ( userPasswordConnection )
1516 { CommandText = "SELECT 1 + 2" } . ExecuteScalarAsync ( ) ) ;
Original file line number Diff line number Diff line change 22using Google . Protobuf ;
33using Google . Protobuf . WellKnownTypes ;
44using Grpc . Core ;
5- using Microsoft . Extensions . Logging ;
65using Moq ;
76using Xunit ;
87using Ydb . Issue ;
You can’t perform that action at this time.
0 commit comments