@@ -48,7 +48,7 @@ private static void ResetShardingSettingsFile()
4848 {
4949 new ( ) { Name = "Default Database" , ConnectionName = "UnitTestConnection" , DatabaseType = nameof ( AuthPDatabaseTypes . SqlServer ) } ,
5050 new ( ) { Name = "Other Database" , DatabaseName = "MyDatabase1" , ConnectionName = "UnitTestConnection" , DatabaseType = nameof ( AuthPDatabaseTypes . SqlServer ) } ,
51- new ( ) { Name = "PostgreSql1" , ConnectionName = "PostgreSqlConnection" , DatabaseName = "StubTest" , DatabaseType = nameof ( AuthPDatabaseTypes . Postgres ) }
51+ new ( ) { Name = "PostgreSql1" , ConnectionName = "PostgreSqlConnection" , DatabaseName = "StubTest" , DatabaseType = nameof ( AuthPDatabaseTypes . PostgreSQL ) }
5252 }
5353 } ;
5454 var jsonString = JsonSerializer . Serialize ( testData , new JsonSerializerOptions { WriteIndented = true } ) ;
@@ -243,15 +243,15 @@ public void TestAddDatabaseInfoToJsonFile_PostgresLock()
243243 var stubEnv = new StubWebHostEnvironment { ContentRootPath = TestData . GetTestDataDir ( ) , EnvironmentName = "Test" } ;
244244 var stubCon = new StubConnectionsService ( this ) ;
245245 var service = new AccessDatabaseInformationJsonFile ( stubEnv , stubCon , context ,
246- FormAuthOptionsForSharding ( AuthPDatabaseTypes . Postgres ) , "en" . SetupAuthPLoggingLocalizer ( ) ) ;
246+ FormAuthOptionsForSharding ( AuthPDatabaseTypes . PostgreSQL ) , "en" . SetupAuthPLoggingLocalizer ( ) ) ;
247247
248248 //ATTEMPT
249249 Parallel . ForEach ( new string [ ] { "Name1" , "Name2" , "Name3" } ,
250250 name =>
251251 {
252252 var databaseInfo = new DatabaseInformation
253253 {
254- DatabaseType = nameof ( AuthPDatabaseTypes . Postgres ) ,
254+ DatabaseType = nameof ( AuthPDatabaseTypes . PostgreSQL ) ,
255255 Name = name , DatabaseName = $ "Database{ name } ", ConnectionName = "UnitTestConnection"
256256 } ;
257257 var status = service . AddDatabaseInfoToShardingInformation ( databaseInfo ) ;
0 commit comments