Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions schema/src/test/test_cwms_fcst.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading