Fix Pint formatting
This commit is contained in:
@@ -54,7 +54,7 @@ class ReimbursementBatchAssignmentServiceTest extends TestCase
|
||||
'status' => 'approved',
|
||||
]);
|
||||
|
||||
$service = new ReimbursementBatchAssignmentService(new ReimbursementLookupService());
|
||||
$service = new ReimbursementBatchAssignmentService(new ReimbursementLookupService);
|
||||
|
||||
$result = $service->updateAssignment(100, 10, 1, null, '2025-2026', 'Fall');
|
||||
$this->assertSame(10, $result['batch_id']);
|
||||
|
||||
@@ -13,7 +13,7 @@ class ReimbursementBatchServiceTest extends TestCase
|
||||
|
||||
public function test_create_batch_assigns_sequence_and_title(): void
|
||||
{
|
||||
$service = new ReimbursementBatchService(new ReimbursementLookupService());
|
||||
$service = new ReimbursementBatchService(new ReimbursementLookupService);
|
||||
|
||||
$batch = $service->createBatch(null, 1, '2025-2026', 'Fall');
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ class ReimbursementDonationServiceTest extends TestCase
|
||||
'assigned_at' => now(),
|
||||
]);
|
||||
|
||||
$service = new ReimbursementDonationService();
|
||||
$service = new ReimbursementDonationService;
|
||||
$service->markDonation(200, 1);
|
||||
|
||||
$this->assertDatabaseHas('expenses', [
|
||||
|
||||
@@ -66,7 +66,7 @@ class ReimbursementRecipientServiceTest extends TestCase
|
||||
['user_id' => 2, 'role_id' => 2],
|
||||
]);
|
||||
|
||||
$service = new ReimbursementRecipientService();
|
||||
$service = new ReimbursementRecipientService;
|
||||
$recipients = $service->recipientOptions();
|
||||
|
||||
$ids = array_map(static fn ($row) => (int) ($row['id'] ?? 0), $recipients);
|
||||
|
||||
Reference in New Issue
Block a user