Index: openacs-4/packages/calendar/tcl/test/cal-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/test/cal-item-procs.tcl,v diff -u -r1.8.2.9 -r1.8.2.10 --- openacs-4/packages/calendar/tcl/test/cal-item-procs.tcl 15 Feb 2023 13:41:54 -0000 1.8.2.9 +++ openacs-4/packages/calendar/tcl/test/cal-item-procs.tcl 15 Feb 2023 14:09:22 -0000 1.8.2.10 @@ -171,6 +171,8 @@ calendar::notification::get_url calendar::have_private_p calendar::personal_p + calendar::outlook::format_item + calendar::outlook::ics_timestamp_format } \ cal_item_add_delete { Test adding and deleting a calendar entry @@ -288,6 +290,13 @@ -description $ci_description \ -calendar_id $calendar_id] + set cal_item_ics_url [aa_get_first_url -package_key calendar]ics/${cal_item_id}.ics + set d [acs::test::http -user_id [ad_conn user_id] $cal_item_ics_url] + acs::test::reply_has_status_code $d 200 + aa_true "Content type is .ics" \ + [regexp {^application/x-msoutlook.*$} [ns_set iget [dict get $d headers] Content-type]] + + set package_id [ad_conn package_id] set mode_pretty [_ calendar.New] aa_true "Notification was generated" [db_0or1row check {