fix logic and tests, update docker CI file
This commit is contained in:
@@ -110,7 +110,7 @@ class BadgePdfServiceTest extends TestCase
|
||||
'school_year' => '2025-2026',
|
||||
];
|
||||
|
||||
$lookup->shouldReceive('getUserInfoById')->twice()->andReturn($userInfo);
|
||||
$lookup->shouldReceive('getUserInfoById')->once()->andReturn($userInfo);
|
||||
|
||||
$printLog->shouldReceive('logSafely')
|
||||
->once()
|
||||
@@ -129,4 +129,4 @@ class BadgePdfServiceTest extends TestCase
|
||||
$this->assertSame(200, $response->getStatusCode());
|
||||
$this->assertSame('application/pdf', $response->headers->get('Content-Type'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user