fix tests
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2024-05-18 00:12:37 +00:00
parent 0d76bbd8a2
commit 658e690a54

View File

@ -73,7 +73,7 @@ describe('UriFactoryTest', function ()
'/path' : 'PATH',
'#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.build(uri, vars)).toBe(expected);