Remove duplicate test method _handleQueryRoute Test is already defined in line 652 of the file. Change-Id: I7646160d2748321af5602700b913bbd227341f12
diff --git a/polygerrit-ui/app/elements/core/gr-router/gr-router_test.js b/polygerrit-ui/app/elements/core/gr-router/gr-router_test.js index bf71aec..406a572 100644 --- a/polygerrit-ui/app/elements/core/gr-router/gr-router_test.js +++ b/polygerrit-ui/app/elements/core/gr-router/gr-router_test.js
@@ -671,22 +671,6 @@ assert.equal(redirectStub.lastCall.args[0], '/q/foo+bar'); }); - test('_handleQueryRoute', () => { - const data = {params: ['project:foo/bar/baz']}; - assertDataToParams(data, '_handleQueryRoute', { - view: GerritNav.View.SEARCH, - query: 'project:foo/bar/baz', - offset: undefined, - }); - - data.params.push(',123', '123'); - assertDataToParams(data, '_handleQueryRoute', { - view: GerritNav.View.SEARCH, - query: 'project:foo/bar/baz', - offset: '123', - }); - }); - test('_handleChangeIdQueryRoute', () => { const data = {params: ['I0123456789abcdef0123456789abcdef01234567']}; assertDataToParams(data, '_handleChangeIdQueryRoute', {