diff --git a/tests/api-test.sh b/tests/api-test.sh index 13175ca..83cc61d 100755 --- a/tests/api-test.sh +++ b/tests/api-test.sh @@ -60,7 +60,7 @@ fi echo "" # Source our resty functions -. ./utils/resty -W "http://127.0.0.1:12151" -H "Accept: application/json" -H "Content-Type: application/json" -u ${fuser}:${fpass} +. ./utils/resty -W "https://127.0.0.1:12151" -H "Accept: application/json" -H "Content-Type: application/json" -u ${fuser}:${fpass} # Check the reply of this REST query echo "" diff --git a/tests/sendwebsocket.js b/tests/sendwebsocket.js index 6907e75..127618c 100644 --- a/tests/sendwebsocket.js +++ b/tests/sendwebsocket.js @@ -1,5 +1,5 @@ var WebSocket = require('ws'); -var wsserver = "ws://127.0.0.1:12150"; +var wsserver = "wss://127.0.0.1:12150"; var wstoken = "foome"; var stdargs = ""; var ignorefirst = "true";