diff --git a/tests/codeception/acceptance/GlobalCalendarCest.php b/tests/codeception/acceptance/GlobalCalendarCest.php index bce3d262..8caa0b88 100644 --- a/tests/codeception/acceptance/GlobalCalendarCest.php +++ b/tests/codeception/acceptance/GlobalCalendarCest.php @@ -55,6 +55,8 @@ public function testGlobalCalendarCreateEntry(AcceptanceTester $I) $I->click('.fc-today'); $I->expectTo('see the choose calendar modal'); $I->waitForText('Choose target calendar'); + $I->click('.select2-selection--single'); + $I->click('.select2-results__option:nth-child(2)'); $I->click('Next', '#globalModal'); diff --git a/views/global/selectContainerModal.php b/views/global/selectContainerModal.php index 65fcc604..f5a9638a 100644 --- a/views/global/selectContainerModal.php +++ b/views/global/selectContainerModal.php @@ -25,8 +25,8 @@ 'class' => 'form-control', 'data-ui-select2' => '', 'prompt' => $canSelectProfileCalendar ? - Yii::t('CalendarModule.base', 'Select space...') : - Yii::t('CalendarModule.base', 'Select calendar...'), + Yii::t('CalendarModule.base', 'Select calendar...') : + Yii::t('CalendarModule.base', 'Select space...'), ]) ?>