mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-16 17:28:41 +00:00
fix tests
This commit is contained in:
parent
0d76bbd8a2
commit
658e690a54
|
|
@ -73,7 +73,7 @@ describe('UriFactoryTest', function ()
|
||||||
'/path' : 'PATH',
|
'/path' : 'PATH',
|
||||||
'#hash' : 'test',
|
'#hash' : 'test',
|
||||||
},
|
},
|
||||||
expected = 'www.test-uri.com?id=1&test=someString&two=PATH&hash=test&found=ERROR%20PATH&v=query4';
|
expected = 'www.test-uri.com?id=1&test=someString&two=PATH&hash=test&found=null&v=query4';
|
||||||
|
|
||||||
expect(UriFactory.setQuery('?valid2', 'query4')).toBeTruthy();
|
expect(UriFactory.setQuery('?valid2', 'query4')).toBeTruthy();
|
||||||
expect(UriFactory.build(uri, vars)).toBe(expected);
|
expect(UriFactory.build(uri, vars)).toBe(expected);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user