File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed
JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Transactions Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "Data" : {
3- "DefaultConnection" : " Host=localhost;Port=5432; Database=DefaultTenantDb;User ID=postgres;Password=###" ,
4- "AdventureWorksConnection" : " Host=localhost;Port=5432; Database=AdventureWorks;User ID=postgres;Password=###" ,
5- "ContosoConnection" : " Host=localhost;Port=5432; Database=Contoso;User ID=postgres;Password=###"
3+ "DefaultConnection" : " Host=localhost;Database=DefaultTenantDb;User ID=postgres;Password=###;Include Error Detail=true " ,
4+ "AdventureWorksConnection" : " Host=localhost;Database=AdventureWorks;User ID=postgres;Password=###;Include Error Detail=true " ,
5+ "ContosoConnection" : " Host=localhost;Database=Contoso;User ID=postgres;Password=###;Include Error Detail=true "
66 },
77 "Logging" : {
88 "LogLevel" : {
Original file line number Diff line number Diff line change 11{
22 "Data" : {
3- "DefaultConnection" : " Host=localhost;Port=5432; Database=JsonApiDotNetCoreExample;User ID=postgres;Password=###"
3+ "DefaultConnection" : " Host=localhost;Database=JsonApiDotNetCoreExample;User ID=postgres;Password=###;Include Error Detail=true "
44 },
55 "Logging" : {
66 "LogLevel" : {
Original file line number Diff line number Diff line change 11{
22 "Data" : {
3- "DefaultConnection" : " Host=localhost;Port=5432; Database=NoEntityFrameworkExample;User ID=postgres;Password=###"
3+ "DefaultConnection" : " Host=localhost;Database=NoEntityFrameworkExample;User ID=postgres;Password=###;Include Error Detail=true "
44 },
55 "Logging" : {
66 "LogLevel" : {
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ public AtomicTransactionConsistencyTests(IntegrationTestContext<TestableStartup<
2828 services . AddResourceRepository < LyricRepository > ( ) ;
2929
3030 string postgresPassword = Environment . GetEnvironmentVariable ( "PGPASSWORD" ) ?? "postgres" ;
31- string dbConnectionString = $ "Host=localhost;Port=5432;Database=JsonApiTest-Extra-{ Guid . NewGuid ( ) : N} ;User ID=postgres;Password={ postgresPassword } ";
31+
32+ string dbConnectionString =
33+ $ "Host=localhost;Database=JsonApiTest-Extra-{ Guid . NewGuid ( ) : N} ;User ID=postgres;Password={ postgresPassword } ;Include Error Detail=true";
3234
3335 services . AddDbContext < ExtraDbContext > ( options => options . UseNpgsql ( dbConnectionString ) ) ;
3436 } ) ;
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ private WebApplicationFactory<TStartup> CreateFactory()
6565 {
6666 string postgresPassword = Environment . GetEnvironmentVariable ( "PGPASSWORD" ) ?? "postgres" ;
6767
68- string dbConnectionString = $ "Host=localhost;Port=5432;Database=JsonApiTest- { Guid . NewGuid ( ) : N } ;User ID=postgres;" +
69- $ "Password={ postgresPassword } ;Include Error Detail=true";
68+ string dbConnectionString =
69+ $ "Host=localhost;Database=JsonApiTest- { Guid . NewGuid ( ) : N } ;User ID=postgres; Password={ postgresPassword } ;Include Error Detail=true";
7070
7171 var factory = new IntegrationTestWebApplicationFactory ( ) ;
7272
You can’t perform that action at this time.
0 commit comments