add more controller

This commit is contained in:
root
2026-03-10 00:48:32 -04:00
parent 5eeaec0257
commit 20ee70d153
151 changed files with 9481 additions and 8407 deletions
@@ -0,0 +1,21 @@
<?php
namespace Tests\Unit\Services\Reports;
use App\Services\Reports\SlipPrinterFormatterService;
use Tests\TestCase;
class SlipPrinterFormatterServiceTest extends TestCase
{
public function test_to_db_date_parses_us_format(): void
{
$service = new SlipPrinterFormatterService();
$this->assertSame('2025-09-01', $service->toDbDate('09/01/2025'));
}
public function test_to_db_time_parses_string(): void
{
$service = new SlipPrinterFormatterService();
$this->assertSame('08:15:00', $service->toDbTime('8:15 AM'));
}
}