Simon Hunt
Committed by Gerrit Code Review

GUI -- Corrected path prefix for ui/rs calls.

- fixed broken unit tests.

Change-Id: I52c3f54853a19d7d7d46a7453f540b241593d138
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 22
23 var $log; 23 var $log;
24 24
25 - var urlSuffix = '/ui/rs/'; 25 + var urlSuffix = '/onos/ui/rs/';
26 26
27 27
28 28
......
...@@ -90,7 +90,8 @@ describe('factory: fw/remote/rest.js', function() { ...@@ -90,7 +90,8 @@ describe('factory: fw/remote/rest.js', function() {
90 expect(called).toEqual(0); 90 expect(called).toEqual(0);
91 expect(capture).toBeNull(); 91 expect(capture).toBeNull();
92 expect($log.warn).toHaveBeenCalledWith( 92 expect($log.warn).toHaveBeenCalledWith(
93 - 'Failed to retrieve JSON data: http://foo:80/ui/rs/bar', 404, 'Not Found'); 93 + 'Failed to retrieve JSON data: http://foo:80/onos/ui/rs/bar',
94 + 404, 'Not Found');
94 }); 95 });
95 96
96 }); 97 });
......
...@@ -36,8 +36,8 @@ describe('factory: fw/svg/glyph.js', function() { ...@@ -36,8 +36,8 @@ describe('factory: fw/svg/glyph.js', function() {
36 chain: 'M60.4,77.6c-', 36 chain: 'M60.4,77.6c-',
37 crown: 'M99.5,21.6c0,', 37 crown: 'M99.5,21.6c0,',
38 uiAttached: 'M2,2.5a.5,.5', 38 uiAttached: 'M2,2.5a.5,.5',
39 - checkMark: 'M2.644,4.531c0', 39 + checkMark: 'M2.6,4.5c0',
40 - xMark: 'M8.967,7.196C8.172', 40 + xMark: 'M9.0,7.2C8.2',
41 41
42 // our test ones.. 42 // our test ones..
43 triangle: 'M.5,.2', 43 triangle: 'M.5,.2',
......