Skip to content

Commit

Permalink
fix(tests): minor syntaxis errors on ud and ws tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danimarinBG committed Aug 14, 2024
1 parent cc90f22 commit ecdefda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/plsql/ud/test_gw_fct_graphanalytics_downstream.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ SELECT is (
"feature":{"id":["20607"]},"data":{}}$$)::JSON)->>'status',
'Accepted',
'Check if gw_fct_graphanalytics_downstream returns status "Accepted"'
)
);

SELECT is (
(SELECT gw_fct_graphanalytics_downstream($${"client":{"device":4, "infoType":1, "lang":"ES"},
"feature":{},"data":{ "coordinates":{"xcoord":419277.7306855297,"ycoord":4576625.674511955,
"zoomRatio":3565.9967217571534}}}$$)::JSON)->>'status',
'Accepted',
'Check if gw_fct_graphanalytics_downstream with coordinates returns status "Accepted"'
)
);

-- Finish the test
SELECT finish();
Expand Down
4 changes: 2 additions & 2 deletions test/plsql/ud/test_gw_fct_graphanalytics_upstream.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ SELECT is (
"feature":{"id":["20607"]},"data":{}}$$)::JSON)->>'status',
'Accepted',
'Check if gw_fct_graphanalytics_upstream returns status "Accepted"'
)
);

SELECT is (
(gw_fct_graphanalytics_upstream($${"client":{"device":4, "infoType":1, "lang":"ES"},
"feature":{},"data":{"coordinates":{"xcoord":419278.0533606678,"ycoord":4576625.482073168,
"zoomRatio":437.2725774103561}}}$$)::JSON)->>'status',
'Accepted',
'Check if gw_fct_graphanalytics_upstream with coordinates returns status "Accepted"'
)
);

-- Finish the test
SELECT finish();
Expand Down
2 changes: 1 addition & 1 deletion test/plsql/ws/test_gw_fct_anl_arc_duplicated.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SELECT is(

SELECT is(
(gw_fct_anl_arc_duplicated($${"client": {"device": 4, "infoType": 1, "lang": "ES"},
"form": {}, "feature": {"tableName": "v_edit_arc", "id": [2001, 2002]}, "data": {"filterFields": {}"pageInfo": {},
"form": {}, "feature": {"tableName": "v_edit_arc", "id": [2001, 2002]}, "data": {"filterFields": {}, "pageInfo": {},
"selectionMode": "previousSelection","parameters": {"checkType": "finalNodes"}}}$$)::JSON)->>'status',
'Accepted',
'Check if gw_fct_anl_arc_duplicated -> previousSelection returns status "Accepted"'
Expand Down

0 comments on commit ecdefda

Please sign in to comment.