@@ -237,7 +237,7 @@ protected virtual void InitTest(CaseTest caseTest, CaseTestContext context)
237237 division = GetDivisionAsync ( context . Tenant . Id , divisionName ) . Result ;
238238 if ( division == null )
239239 {
240- throw new PayrollException ( $ "Unknown division { divisionName } ") ;
240+ throw new PayrollException ( $ "Unknown division { divisionName } . ") ;
241241 }
242242 divisions . Add ( divisionName , division ) ;
243243 }
@@ -273,7 +273,7 @@ protected virtual async Task SetupInitCases(List<CaseChangeSetup> initCases, Cas
273273 var division = await GetDivisionAsync ( testContext . Tenant . Id , initCase . DivisionName ) ;
274274 if ( division == null )
275275 {
276- throw new PayrollException ( $ "Unknown division { initCase . DivisionName } ") ;
276+ throw new PayrollException ( $ "Unknown division { initCase . DivisionName } . ") ;
277277 }
278278
279279 initCase . DivisionId = division . Id ;
@@ -364,28 +364,28 @@ protected virtual async Task<CaseTestContext> CreateTestContext(CaseTest caseTes
364364 } ;
365365 if ( context . Tenant == null )
366366 {
367- throw new PayrollException ( $ "Missing tenant { caseTest . TenantIdentifier } ") ;
367+ throw new PayrollException ( $ "Missing tenant { caseTest . TenantIdentifier } . ") ;
368368 }
369369
370370 // user
371371 context . User = await GetUserAsync ( context . Tenant . Id , caseTest . UserIdentifier ) ;
372372 if ( context . User == null )
373373 {
374- throw new PayrollException ( $ "Missing user { caseTest . UserIdentifier } ") ;
374+ throw new PayrollException ( $ "Missing user { caseTest . UserIdentifier } . ") ;
375375 }
376376
377377 // payroll
378378 context . Payroll = await GetPayrollAsync ( context . Tenant . Id , caseTest . PayrollName ) ;
379379 if ( context . Payroll == null )
380380 {
381- throw new PayrollException ( $ "Missing payroll { caseTest . PayrollName } ") ;
381+ throw new PayrollException ( $ "Missing payroll { caseTest . PayrollName } . ") ;
382382 }
383383
384384 // division
385385 context . Division = await GetDivisionAsync ( context . Tenant . Id , context . Payroll . DivisionId ) ;
386386 if ( context . Division == null )
387387 {
388- throw new PayrollException ( $ "Missing division { context . Payroll . DivisionName } in payroll { caseTest . PayrollName } ") ;
388+ throw new PayrollException ( $ "Missing division { context . Payroll . DivisionName } in payroll { caseTest . PayrollName } . ") ;
389389 }
390390
391391 // employee
@@ -394,7 +394,7 @@ protected virtual async Task<CaseTestContext> CreateTestContext(CaseTest caseTes
394394 context . Employee = await GetEmployeeAsync ( context . Tenant . Id , caseTest . EmployeeIdentifier ) ;
395395 if ( context . Employee == null )
396396 {
397- throw new PayrollException ( $ "Missing employee { caseTest . EmployeeIdentifier } ") ;
397+ throw new PayrollException ( $ "Missing employee { caseTest . EmployeeIdentifier } . ") ;
398398 }
399399 }
400400
0 commit comments