fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -51,7 +51,7 @@ class BillingTotalsServiceTest extends TestCase
],
]);
$service = new BillingTotalsService();
$service = new BillingTotalsService;
$eventSubtotal = $service->eventSubtotal(10, '2025-2026');
$additionalSubtotal = $service->additionalSubtotal(99, '2025-2026');
@@ -95,7 +95,7 @@ class BillingTotalsServiceTest extends TestCase
],
]);
$service = new BillingTotalsService();
$service = new BillingTotalsService;
$this->assertSame(30.0, $service->additionalSubtotalByParent(10, '2025-2026'));
}
@@ -126,7 +126,7 @@ class BillingTotalsServiceTest extends TestCase
],
]);
$service = new BillingTotalsService();
$service = new BillingTotalsService;
$byStudent = $service->eventSubtotalsByStudent(5, '2025-2026');
$this->assertSame(20.0, $byStudent[1]);