mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-23 13:21:21 +02:00
GUI -- Corrected path prefix for ui/rs calls.
- fixed broken unit tests. Change-Id: I52c3f54853a19d7d7d46a7453f540b241593d138
This commit is contained in:
parent
b07c279b03
commit
aa26adf980
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
var $log;
|
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(called).toEqual(0);
|
||||||
expect(capture).toBeNull();
|
expect(capture).toBeNull();
|
||||||
expect($log.warn).toHaveBeenCalledWith(
|
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-',
|
chain: 'M60.4,77.6c-',
|
||||||
crown: 'M99.5,21.6c0,',
|
crown: 'M99.5,21.6c0,',
|
||||||
uiAttached: 'M2,2.5a.5,.5',
|
uiAttached: 'M2,2.5a.5,.5',
|
||||||
checkMark: 'M2.644,4.531c0',
|
checkMark: 'M2.6,4.5c0',
|
||||||
xMark: 'M8.967,7.196C8.172',
|
xMark: 'M9.0,7.2C8.2',
|
||||||
|
|
||||||
// our test ones..
|
// our test ones..
|
||||||
triangle: 'M.5,.2',
|
triangle: 'M.5,.2',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user