fix logic and tests, update docker CI file
This commit is contained in:
@@ -15,7 +15,7 @@ class ClassPreparationServiceTest extends TestCase
|
||||
{
|
||||
$this->seedPrepData();
|
||||
|
||||
$service = new ClassPreparationService();
|
||||
$service = app(ClassPreparationService::class);
|
||||
$payload = $service->listPrep('2025-2026', 'Fall');
|
||||
|
||||
$this->assertSame('2025-2026', $payload['schoolYear']);
|
||||
@@ -28,7 +28,7 @@ class ClassPreparationServiceTest extends TestCase
|
||||
{
|
||||
$this->seedPrepData();
|
||||
|
||||
$service = new ClassPreparationService();
|
||||
$service = app(ClassPreparationService::class);
|
||||
$count = $service->markPrinted('2025-2026', 'Fall', [101]);
|
||||
|
||||
$this->assertSame(1, $count);
|
||||
|
||||
Reference in New Issue
Block a user