fix logic and tests, update docker CI file
This commit is contained in:
@@ -72,6 +72,7 @@ class FinancialReportServiceTest extends TestCase
|
||||
'refund_amount' => 5,
|
||||
'status' => 'Paid',
|
||||
'refund_paid_amount' => 5,
|
||||
'refunded_at' => '2025-01-03 10:00:00',
|
||||
]);
|
||||
|
||||
DB::table('discount_usages')->insert([
|
||||
@@ -81,6 +82,8 @@ class FinancialReportServiceTest extends TestCase
|
||||
'parent_id' => 10,
|
||||
'discount_amount' => 10,
|
||||
'school_year' => '2025-2026',
|
||||
'used_at' => '2025-01-04 10:00:00',
|
||||
'created_at' => '2025-01-04 10:00:00',
|
||||
]);
|
||||
|
||||
DB::table('expenses')->insert([
|
||||
@@ -93,6 +96,7 @@ class FinancialReportServiceTest extends TestCase
|
||||
'school_year' => '2025-2026',
|
||||
'semester' => 'Fall',
|
||||
'status' => 'approved',
|
||||
'created_at' => '2025-01-05 12:00:00',
|
||||
]);
|
||||
|
||||
DB::table('reimbursements')->insert([
|
||||
@@ -104,6 +108,7 @@ class FinancialReportServiceTest extends TestCase
|
||||
'status' => 'Paid',
|
||||
'school_year' => '2025-2026',
|
||||
'semester' => 'Fall',
|
||||
'created_at' => '2025-01-06 12:00:00',
|
||||
]);
|
||||
|
||||
$service = new FinancialReportService(
|
||||
|
||||
Reference in New Issue
Block a user