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 @@
var $log;
var urlSuffix = '/ui/rs/';
var urlSuffix = '/onos/ui/rs/';
......
......@@ -90,7 +90,8 @@ describe('factory: fw/remote/rest.js', function() {
expect(called).toEqual(0);
expect(capture).toBeNull();
expect($log.warn).toHaveBeenCalledWith(
'Failed to retrieve JSON data: http://foo:80/ui/rs/bar', 404, 'Not Found');
'Failed to retrieve JSON data: http://foo:80/onos/ui/rs/bar',
404, 'Not Found');
});
});
......
......@@ -36,8 +36,8 @@ describe('factory: fw/svg/glyph.js', function() {
chain: 'M60.4,77.6c-',
crown: 'M99.5,21.6c0,',
uiAttached: 'M2,2.5a.5,.5',
checkMark: 'M2.644,4.531c0',
xMark: 'M8.967,7.196C8.172',
checkMark: 'M2.6,4.5c0',
xMark: 'M9.0,7.2C8.2',
// our test ones..
triangle: 'M.5,.2',
......