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

@@ -20,12 +20,12 @@ use App\Tests\Mocks\SystemConfigurationFactory;
*/
class CalendarControllerTest extends ControllerBaseTest
{
public function testIsSecure()
public function testIsSecure(): void
{
$this->assertUrlIsSecured('/calendar/');
}
public function testCalendarAction()
public function testCalendarAction(): void
{
$client = $this->getClientForAuthenticatedUser();
$fixtures = new TimesheetFixtures($this->getUserByRole(), 10);
@@ -42,13 +42,13 @@ class CalendarControllerTest extends ControllerBaseTest
$this->assertEquals(1, $dragAndDropBoxes->count());
}
public function testCalendarActionAsSuperAdmin()
public function testCalendarActionAsSuperAdmin(): void
{
$client = $this->getClientForAuthenticatedUser(User::ROLE_SUPER_ADMIN);
$this->assertAccessIsGranted($client, '/calendar/');
}
public function testCalendarActionWithGoogleSource()
public function testCalendarActionWithGoogleSource(): void
{
$loader = new TestConfigLoader([]);
$config = SystemConfigurationFactory::create($loader, $this->getDefaultSettings());