add test batches
This commit is contained in:
@@ -192,13 +192,13 @@ class BalanceCalculationServiceTest extends TestCase
|
||||
|
||||
private function makeService(): BalanceCalculationService
|
||||
{
|
||||
$config = new FeeConfigService;
|
||||
$config = new FeeConfigService();
|
||||
$tuition = new TuitionCalculationService(
|
||||
$config,
|
||||
new FeeStudentFeeService(new FeeGradeService, $config)
|
||||
new FeeStudentFeeService(new FeeGradeService(), $config)
|
||||
);
|
||||
|
||||
return new BalanceCalculationService($config, $tuition, new BillingTotalsService);
|
||||
return new BalanceCalculationService($config, $tuition, new BillingTotalsService());
|
||||
}
|
||||
|
||||
private function seedFeeConfig(): void
|
||||
@@ -226,7 +226,7 @@ class BalanceCalculationServiceTest extends TestCase
|
||||
{
|
||||
return (int) DB::table('invoices')->insertGetId([
|
||||
'parent_id' => $parentId,
|
||||
'invoice_number' => 'INV-'.$parentId,
|
||||
'invoice_number' => 'INV-' . $parentId,
|
||||
'total_amount' => $total,
|
||||
'balance' => 0.00,
|
||||
'paid_amount' => 0.00,
|
||||
|
||||
Reference in New Issue
Block a user