Release 2.12 (#4609)

This commit is contained in:
Kevin Papst
2024-02-07 23:47:25 +01:00
committed by GitHub
parent 7abe787778
commit 85a16a9363
394 changed files with 1189 additions and 6735 deletions

View File

@@ -16,17 +16,17 @@ use App\Entity\User;
*/
class DoctorControllerTest extends ControllerBaseTest
{
public function testDoctorIsSecure()
public function testDoctorIsSecure(): void
{
$this->assertUrlIsSecured('/doctor');
}
public function testDoctorIsSecureForRole()
public function testDoctorIsSecureForRole(): void
{
$this->assertUrlIsSecuredForRole(User::ROLE_ADMIN, '/doctor');
}
public function testIndexAction()
public function testIndexAction(): void
{
$client = $this->getClientForAuthenticatedUser(User::ROLE_SUPER_ADMIN);
$this->assertAccessIsGranted($client, '/doctor');
@@ -37,7 +37,7 @@ class DoctorControllerTest extends ControllerBaseTest
self::assertTrue($counter === 6 || $counter === 5);
}
public function testFlushLogWithInvalidCsrf()
public function testFlushLogWithInvalidCsrf(): void
{
$client = $this->getClientForAuthenticatedUser(User::ROLE_SUPER_ADMIN);