commit | fa875bb10a7a918871a3be4183eb4fb97d743dc8 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Wed Aug 24 11:41:02 2016 -0700 |
committer | Simon Hunt <simon@onlab.us> | Wed Aug 24 12:42:00 2016 -0700 |
tree | 84b85862880bb04d50f0f210bc5121b86a30394b | |
parent | 94fa13ed46f5a6fa2f535f3284a94c361054a4c0 [diff] [blame] |
Cleaned up urlBase() readability. Updated unit tests, and added a test for the app context in the URL. Change-Id: I110b62ff8366a503c3309df0f26a7dd213ae0c5f
diff --git a/web/gui/src/main/webapp/tests/app/fw/remote/websocket-spec.js b/web/gui/src/main/webapp/tests/app/fw/remote/websocket-spec.js index c3599cb..6b0d4a7 100644 --- a/web/gui/src/main/webapp/tests/app/fw/remote/websocket-spec.js +++ b/web/gui/src/main/webapp/tests/app/fw/remote/websocket-spec.js
@@ -57,6 +57,9 @@ port: function () { return '80'; }, search: function() { return {debug: 'true'}; + }, + absUrl: function () { + return 'ws://foo:123/onos/ui/websock/path'; } }; })