Skip to content

Commit d24e048

Browse files
:|
1 parent f1cd570 commit d24e048

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

EstateManagementUI.IntegrationTests/Common/DockerHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ protected override List<String> GetRequiredProjections()
137137
{
138138
List<String> requiredProjections = new List<String>();
139139

140-
requiredProjections.Add("CallbackHandlerEnricher.js");
141140
requiredProjections.Add("EstateAggregator.js");
142141
requiredProjections.Add("MerchantAggregator.js");
143142
requiredProjections.Add("MerchantBalanceCalculator.js");
@@ -210,6 +209,7 @@ private async Task<IContainerService> StartEstateManagementUiContainer(List<INet
210209
environmentVariables.Add($"AppSettings:ClientSecret=Secret1");
211210
environmentVariables.Add($"DataReloadConfig:DefaultInSeconds=1");
212211
environmentVariables.Add("AppSettings:HttpClientIgnoreCertificateErrors=true");
212+
environmentVariables.Add(this.SetConnectionString("ConnectionStrings:TransactionProcessorReadModel", "TransactionProcessorReadModel", this.UseSecureSqlServerDatabase));
213213

214214
TraceX("About to Built Estate Management UI Container");
215215
ContainerBuilder containerBuilder = new Builder().UseContainer()

EstateManagementUI.IntegrationTests/Common/SharedSteps.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -172,19 +172,19 @@ public async Task GivenIHaveCreatedTheFollowingEstates(DataTable table)
172172

173173
foreach (EstateResponse verifiedEstate in verifiedEstates)
174174
{
175-
await Retry.For(async () =>
176-
{
177-
String databaseName = $"EstateReportingReadModel{verifiedEstate.EstateId}";
178-
var connString = Setup.GetLocalConnectionString(databaseName);
179-
connString = $"{connString};Encrypt=false";
180-
var ctx = new EstateManagementContext(connString);
175+
//await Retry.For(async () =>
176+
//{
177+
// String databaseName = $"EstateReportingReadModel{verifiedEstate.EstateId}";
178+
// var connString = Setup.GetLocalConnectionString(databaseName);
179+
// connString = $"{connString};Encrypt=false";
180+
// var ctx = new EstateManagementContext(connString);
181181

182-
var estates = ctx.Estates.ToList();
183-
estates.Count.ShouldBe(1);
182+
// var estates = ctx.Estates.ToList();
183+
// estates.Count.ShouldBe(1);
184184

185185
this.TestingContext.AddEstateDetails(verifiedEstate.EstateId, verifiedEstate.EstateName, verifiedEstate.EstateReference);
186186
this.TestingContext.Logger.LogInformation($"Estate {verifiedEstate.EstateName} created with Id {verifiedEstate.EstateId}");
187-
});
187+
//});
188188
}
189189
}
190190

0 commit comments

Comments
 (0)