File tree Expand file tree Collapse file tree
EstateManagementUI.IntegrationTests/Common Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments