From 2235072beaad9a82f657b8dbc72b0dffcfd90127 Mon Sep 17 00:00:00 2001 From: nwoodward Date: Thu, 27 Oct 2022 17:07:14 -0500 Subject: [PATCH] changed path in tests to match default value for websvc.opensearch.svccontext --- src/app/shared/rss-feed/rss.component.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/shared/rss-feed/rss.component.spec.ts b/src/app/shared/rss-feed/rss.component.spec.ts index fd7f2c5321..aa2a2a63bc 100644 --- a/src/app/shared/rss-feed/rss.component.spec.ts +++ b/src/app/shared/rss-feed/rss.component.spec.ts @@ -96,17 +96,17 @@ describe('RssComponent', () => { }); it('should formulate the correct url given params in url', () => { - const route = comp.formulateRoute(uuid, 'opensearch', options, query); + const route = comp.formulateRoute(uuid, 'opensearch/search', options, query); expect(route).toBe('/opensearch/search?format=atom&scope=2cfcf65e-0a51-4bcb-8592-b8db7b064790&sort=dc.title&sort_direction=DESC&query=test'); }); it('should skip uuid if its null', () => { - const route = comp.formulateRoute(null, 'opensearch', options, query); + const route = comp.formulateRoute(null, 'opensearch/search', options, query); expect(route).toBe('/opensearch/search?format=atom&sort=dc.title&sort_direction=DESC&query=test'); }); it('should default to query * if none provided', () => { - const route = comp.formulateRoute(null, 'opensearch', options, null); + const route = comp.formulateRoute(null, 'opensearch/search', options, null); expect(route).toBe('/opensearch/search?format=atom&sort=dc.title&sort_direction=DESC&query=*'); }); });