@@ -36,6 +36,19 @@ describe('Outlook Create Event', function test() {
36
36
expect ( calls . argsFor ( 1 ) [ 0 ] ) . toEqual ( 'end' ) ;
37
37
expect ( calls . argsFor ( 0 ) [ 1 ] . body ) . toEqual ( {
38
38
id : 'testid12345' ,
39
+ subject : 'Unit Test - Simple Event' ,
40
+ body : {
41
+ contentType : 'HTML' ,
42
+ content : 'This is a test.'
43
+ } ,
44
+ start : {
45
+ dateTime : '2017-05-19T18:00:00' ,
46
+ timeZone : 'Central European Standard Time'
47
+ } ,
48
+ end : {
49
+ dateTime : '2017-05-20T19:00:00' ,
50
+ timeZone : 'Central European Standard Time'
51
+ } ,
39
52
calendarId : 'AAMkAGYyNmJlYjBmLTgwOWYtNGU0Mi04NW'
40
53
} ) ;
41
54
expect ( scope1 . isDone ( ) ) . toBeTruthy ( ) ;
@@ -66,6 +79,19 @@ describe('Outlook Create Event', function test() {
66
79
expect ( calls . argsFor ( 1 ) [ 0 ] ) . toEqual ( 'end' ) ;
67
80
expect ( calls . argsFor ( 0 ) [ 1 ] . body ) . toEqual ( {
68
81
id : 'testid12345' ,
82
+ subject : 'Unit Test - Simple Event' ,
83
+ body : {
84
+ contentType : 'HTML' ,
85
+ content : 'This is a test.'
86
+ } ,
87
+ start : {
88
+ dateTime : '2017-05-19T18:00:00' ,
89
+ timeZone : 'Central European Standard Time'
90
+ } ,
91
+ end : {
92
+ dateTime : '2017-05-20T19:00:00' ,
93
+ timeZone : 'Central European Standard Time'
94
+ } ,
69
95
calendarId : 'AAMkAGYyNmJlYjBmLTgwOWYtNGU0Mi04NW'
70
96
} ) ;
71
97
expect ( scope1 . isDone ( ) ) . toBeTruthy ( ) ;
0 commit comments