Index: openacs-4/packages/acs-events/sql/postgresql/test/acs-events-test.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/sql/postgresql/test/acs-events-test.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/acs-events/sql/postgresql/test/acs-events-test.sql	13 Jul 2001 03:16:32 -0000	1.1
+++ openacs-4/packages/acs-events/sql/postgresql/test/acs-events-test.sql	8 Mar 2002 22:30:11 -0000	1.2
@@ -106,6 +106,7 @@
 							      ''Testing (pre-edit)'',
 							      ''Making sure the acs_activity code works (pre-edit)'',
 							      ''t'',
+                                                              null,
 							      ''acs_activity'',
 							      now(),
 							      null,
@@ -184,6 +185,8 @@
 	-- Create a null event for test of existence functions
 	insert_instances__event_id := acs_event__new(null,
 				                     null,
+				                     null,
+                                                     null,
 						     null,
 						     null,
 						     null,
@@ -347,7 +350,7 @@
 							   to_date(''2001-12-01'',''YYYY-MM-DD''),
 							   null);
 
-	insert_instances__event_id  := acs_event__new(null,''Weekly'',null,
+	insert_instances__event_id  := acs_event__new(null,''Weekly'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -393,7 +396,7 @@
 							   to_date(''2001-05-01'',''YYYY-MM-DD''),
 							   null);
 
-	insert_instances__event_id  := acs_event__new(null,''month_by_date'',null,
+	insert_instances__event_id  := acs_event__new(null,''month_by_date'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -437,7 +440,7 @@
 							   to_date(''2002-02-01'',''YYYY-MM-DD''),
 							   null);
 
-	insert_instances__event_id  := acs_event__new(null,''month_by_date'',null,
+	insert_instances__event_id  := acs_event__new(null,''month_by_date'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -488,7 +491,7 @@
 							   null);
 
 
-	insert_instances__event_id  := acs_event__new(null,''every 2 days'',null,
+	insert_instances__event_id  := acs_event__new(null,''every 2 days'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -538,7 +541,7 @@
 							   null);
 
 
-	insert_instances__event_id  := acs_event__new(null,''every 2 days'',null,
+	insert_instances__event_id  := acs_event__new(null,''every 2 days'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -588,7 +591,7 @@
 							   null);
 
 
-	insert_instances__event_id  := acs_event__new(null,''yearly (one DST day)'',null,
+	insert_instances__event_id  := acs_event__new(null,''yearly (one DST day)'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -631,7 +634,7 @@
 							   null);
 
 
-	insert_instances__event_id  := acs_event__new(null,''yearly (non-DST)'',null,
+	insert_instances__event_id  := acs_event__new(null,''yearly (non-DST)'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -675,7 +678,7 @@
 							   null);
 
 
-	insert_instances__event_id  := acs_event__new(null,''yearly (DST)'',null,
+	insert_instances__event_id  := acs_event__new(null,''yearly (DST)'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -717,7 +720,7 @@
 							   null);
 
 
-	insert_instances__event_id  := acs_event__new(null,''last_of_month'',null,
+	insert_instances__event_id  := acs_event__new(null,''last_of_month'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -763,7 +766,7 @@
 							   null);
 
 
-	insert_instances__event_id  := acs_event__new(null,''last_of_month'',null,
+	insert_instances__event_id  := acs_event__new(null,''last_of_month'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -809,7 +812,7 @@
 							   ''recur_every3'');
 
 
-	insert_instances__event_id  := acs_event__new(null,''custom'',null,
+	insert_instances__event_id  := acs_event__new(null,''custom'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -856,7 +859,7 @@
 							   null);
 
 
-	insert_instances__event_id  := acs_event__new(null,''month_by_day'',null,
+	insert_instances__event_id  := acs_event__new(null,''month_by_day'',null, null, null,
 				      insert_instances__timespan_id,
 				      insert_instances__activity_id,
 				      insert_instances__recurrence_id,
@@ -925,8 +928,8 @@
 							   );
 
 	-- Insert two non-recurring event to test acs_event__delete, using acs_event__new alone
-	PERFORM acs_event__new(null,null,null,null,null,null,''acs_event'',now(),null,null,null);
-	insert_instances__event_id := acs_event__new(null,''Another event'',''Yet another event description'',
+	PERFORM acs_event__new(null,null,null,null,null,null,null,null,''acs_event'',now(),null,null,null);
+	insert_instances__event_id := acs_event__new(null,''Another event'',''Yet another event description'', null, null,
 			                             insert_instances__timespan_id,null,null,''acs_event'',now(),null,null,null);
 
 
