@@ -56,6 +56,7 @@ const mockResponseBody : CompaniesResource = ({
5656
5757const mockRequestId = "fdskfhsdoifhsffsif" ;
5858const testCompanyName = "TEST COMPANY NAME" ;
59+ const searchType = "alphabetical" ;
5960
6061describe ( "create a dissolved search GET" , ( ) => {
6162 beforeEach ( ( ) => {
@@ -77,7 +78,7 @@ describe("create a dissolved search GET", () => {
7778
7879 const mockRequest = sinon . stub ( requestClient , "httpGet" ) . resolves ( mockGetRequest ) ;
7980 const search : DissolvedSearchService = new DissolvedSearchService ( requestClient ) ;
80- const data : Resource < CompaniesResource > = await search . getCompanies ( testCompanyName , mockRequestId ) ;
81+ const data : Resource < CompaniesResource > = await search . getCompanies ( testCompanyName , mockRequestId , searchType ) ;
8182
8283 expect ( data . httpStatusCode ) . to . equal ( 401 ) ;
8384 expect ( data . resource ) . to . be . undefined ;
@@ -91,7 +92,7 @@ describe("create a dissolved search GET", () => {
9192
9293 const mockRequest = sinon . stub ( requestClient , "httpGet" ) . resolves ( mockGetRequest ) ;
9394 const search : DissolvedSearchService = new DissolvedSearchService ( requestClient ) ;
94- const data : Resource < CompaniesResource > = await search . getCompanies ( testCompanyName , mockRequestId ) ;
95+ const data : Resource < CompaniesResource > = await search . getCompanies ( testCompanyName , mockRequestId , searchType ) ;
9596 const item = data . resource . items [ 0 ] ;
9697 const mockItem = mockResponseBody . items [ 0 ] ;
9798
0 commit comments