diff --git a/test/upsert/ud/test_cat.sql b/test/upsert/ud/test_cat.sql index 51ec1aaa1e..e662ad7b93 100644 --- a/test/upsert/ud/test_cat.sql +++ b/test/upsert/ud/test_cat.sql @@ -27,6 +27,13 @@ SELECT is((SELECT count(*)::integer FROM cat_work WHERE id = 'work5'), 0, 'DELET -- Subtest 2: Testing cat_feature_node operations | insert/update/delete (junction, circ_manhole, sewer_storage) +INSERT INTO cat_feature (id, system_id, feature_type, shortcut_key, parent_layer, child_layer, descript, link_path, code_autofill, active, addparam) +VALUES('JUNCTION2', 'JUNCTION', 'NODE', 'N', 'v_edit_node', 've_node_junction', NULL, NULL, true, true, NULL); +INSERT INTO cat_feature (id, system_id, feature_type, shortcut_key, parent_layer, child_layer, descript, link_path, code_autofill, active, addparam) +VALUES('CIRC_MANHOLE2', 'MANHOLE', 'NODE', 'M', 'v_edit_node', 've_node_circ_manhole', NULL, NULL, true, true, '{"code_prefix":"CM_"}'::json); +INSERT INTO cat_feature (id, system_id, feature_type, shortcut_key, parent_layer, child_layer, descript, link_path, code_autofill, active, addparam) +VALUES('SEWER_STORAGE2', 'STORAGE', 'NODE', 'L', 'v_edit_node', 've_node_sewer_storage', NULL, NULL, true, true, NULL); + -- JUNCTION INSERT INTO cat_feature_node (id, "type", epa_default, num_arcs, choose_hemisphere, isarcdivide, isprofilesurface, isexitupperintro, double_geom) VALUES('JUNCTION2', 'JUNCTION', 'JUNCTION', 2, true, true, true, 0, '{"activated":false,"value":1}'::json); diff --git a/test/upsert/ws/test_cat.sql b/test/upsert/ws/test_cat.sql index b3522bafc0..80bffb031c 100644 --- a/test/upsert/ws/test_cat.sql +++ b/test/upsert/ws/test_cat.sql @@ -27,6 +27,13 @@ SELECT is((SELECT count(*)::integer FROM cat_work WHERE id = 'work5'), 0, 'DELET -- Subtest 2: Testing cat_feature_node operations | insert/update/delete (junction, circ_manhole, sewer_storage) +INSERT INTO cat_feature (id, system_id, feature_type, shortcut_key, parent_layer, child_layer, descript, link_path, code_autofill, active, addparam) +VALUES('JUNCTION2', 'JUNCTION', 'NODE', 'N', 'v_edit_node', 've_node_junction', NULL, NULL, true, true, NULL); +INSERT INTO cat_feature (id, system_id, feature_type, shortcut_key, parent_layer, child_layer, descript, link_path, code_autofill, active, addparam) +VALUES('CIRC_MANHOLE2', 'MANHOLE', 'NODE', 'M', 'v_edit_node', 've_node_circ_manhole', NULL, NULL, true, true, '{"code_prefix":"CM_"}'::json); +INSERT INTO cat_feature (id, system_id, feature_type, shortcut_key, parent_layer, child_layer, descript, link_path, code_autofill, active, addparam) +VALUES('SEWER_STORAGE2', 'STORAGE', 'NODE', 'L', 'v_edit_node', 've_node_sewer_storage', NULL, NULL, true, true, NULL); + -- JUNCTION INSERT INTO cat_feature_node (id, "type", epa_default, num_arcs, choose_hemisphere, isarcdivide, graph_delimiter, isprofilesurface, double_geom) VALUES('JUNCTION2', 'JUNCTION', 'JUNCTION', 2, true, true, 'NONE', false, '{"activated":false,"value":1}'::json);