Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-farre committed Jan 23, 2025
1 parent bc259aa commit 92ce780
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tests/codeception/acceptance/GlobalCalendarCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');


Expand Down
4 changes: 2 additions & 2 deletions views/global/selectContainerModal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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...'),
]) ?>
</div>
<div class="modal-footer">
Expand Down

0 comments on commit 92ce780

Please sign in to comment.