Updated unit test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-09-07 08:53:47 +02:00
parent 52b851e75b
commit 03a0a22526
1 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,8 @@ describe('Worker', () => {
$httpBackend.whenRoute('GET', 'Calendars/absences')
.respond({
holidays: [
{dated: today, detail: {description: 'New year'}},
{dated: tomorrow, detail: {description: 'Easter'}}
{dated: today, detail: {name: 'New year'}},
{dated: tomorrow, detail: {name: 'Easter'}}
],
absences: [
{dated: today, absenceType: {name: 'Holiday', rgb: '#aaa'}},