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 1
1
{
2
2
"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 "
6
6
},
7
7
"Logging" : {
8
8
"LogLevel" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"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 "
4
4
},
5
5
"Logging" : {
6
6
"LogLevel" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"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 "
4
4
},
5
5
"Logging" : {
6
6
"LogLevel" : {
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ public AtomicTransactionConsistencyTests(IntegrationTestContext<TestableStartup<
28
28
services . AddResourceRepository < LyricRepository > ( ) ;
29
29
30
30
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";
32
34
33
35
services . AddDbContext < ExtraDbContext > ( options => options . UseNpgsql ( dbConnectionString ) ) ;
34
36
} ) ;
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ private WebApplicationFactory<TStartup> CreateFactory()
65
65
{
66
66
string postgresPassword = Environment . GetEnvironmentVariable ( "PGPASSWORD" ) ?? "postgres" ;
67
67
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";
70
70
71
71
var factory = new IntegrationTestWebApplicationFactory ( ) ;
72
72
You can’t perform that action at this time.
0 commit comments