added drag and drop for new records via calendar (#1962)

This commit is contained in:
Kevin Papst
2020-09-17 01:13:48 +02:00
committed by GitHub
parent 14b3de4300
commit 9ef32e75c5
82 changed files with 2808 additions and 385 deletions

View File

@@ -15,6 +15,7 @@ use PHPUnit\Framework\TestCase;
/**
* @covers \App\Configuration\CalendarConfiguration
* @covers \App\Configuration\StringAccessibleConfigTrait
* @group legacy
*/
class CalendarConfigurationTest extends TestCase
{
@@ -41,6 +42,10 @@ class CalendarConfigurationTest extends TestCase
'begin' => '07:49',
'end' => '19:27'
],
'visibleHours' => [
'begin' => '09:00',
'end' => '21:34',
],
'day_limit' => 20,
'slot_duration' => '01:11:00',
'week_numbers' => false,
@@ -80,5 +85,9 @@ class CalendarConfigurationTest extends TestCase
$this->assertEquals('wertwertwegsdfbdf243w567fg8ihuon', $sut->getGoogleApiKey());
$sources = $sut->getGoogleSources();
$this->assertEquals(2, \count($sources));
self::assertTrue($sut->isShowWeekends());
self::assertEquals('09:00', $sut->getTimeframeBegin());
self::assertEquals('21:34', $sut->getTimeframeEnd());
}
}