diff --git a/schema/src/test/test_cwms_fcst.sql b/schema/src/test/test_cwms_fcst.sql index 8fd27e3e..15e54799 100644 --- a/schema/src/test/test_cwms_fcst.sql +++ b/schema/src/test/test_cwms_fcst.sql @@ -574,6 +574,38 @@ begin p_fail_if_exists => 'F', p_ignore_nulls => 'T', p_office_id => c_office_id); + ---------------- + -- store inst -- + ---------------- + cwms_fcst.store_fcst( + p_fcst_spec_id => c_fcst_spec_id, + p_fcst_designator => c_fcst_designator, + p_forecast_date_time => c_fcst_date, + p_issue_date_time => c_issue_date, + p_time_zone => c_time_zone_id, + p_max_age => c_max_age, + p_notes => c_fcst_notes, + p_fcst_info => null, + p_fcst_file => null, + p_fail_if_exists => 'T' , + p_ignore_nulls => 'T' , + p_office_id => c_office_id); + ---------------- + -- store inst again with no changes from original store other than not failing if exists-- + ---------------- + cwms_fcst.store_fcst( + p_fcst_spec_id => c_fcst_spec_id, + p_fcst_designator => c_fcst_designator, + p_forecast_date_time => c_fcst_date, + p_issue_date_time => c_issue_date, + p_time_zone => c_time_zone_id, + p_max_age => c_max_age, + p_notes => c_fcst_notes, + p_fcst_info => null, + p_fcst_file => null, + p_fail_if_exists => 'F' , + p_ignore_nulls => 'T' , + p_office_id => c_office_id); dbms_lob.createtemporary(l_file_contents, true); for rec in (select text from user_source where name = 'CWMS_FCST' and type = 'PACKAGE' order by line) loop l_file_contents := l_file_contents || rec.text;