Skip to content

Commit

Permalink
fix(96ed6ef): fix test in ws
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez-bgeo committed Sep 20, 2024
1 parent 96ed6ef commit f73ed19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/upsert/ws/test_v_edit_presszone .sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ VALUES('-901', 'pzone1-1s', 1, NULL, NULL, 103.85, '{"use":[{"nodeParent":"1105"
SELECT is((SELECT count(*)::integer FROM v_edit_presszone WHERE presszone_id = '-901'), 1, 'INSERT: v_edit_presszone -901 was inserted');

UPDATE v_edit_presszone SET descript = 'updated descript' WHERE presszone_id = '-901';
SELECT is((SELECT descript FROM v_edit_dma WHERE presszone_id = '-901'), 'updated descript', 'UPDATE: v_edit_presszone -901 was updated');
SELECT is((SELECT descript FROM v_edit_presszone WHERE presszone_id = '-901'), 'updated descript', 'UPDATE: v_edit_presszone -901 was updated');

DELETE FROM v_edit_presszone WHERE presszone_id = '-901';
SELECT is((SELECT count(*)::integer FROM v_edit_presszone WHERE presszone_id = '-901'), 0, 'DELETE: v_edit_presszone -901 was deleted');
Expand Down

0 comments on commit f73ed19

Please sign in to comment.