@@ -70,9 +70,7 @@ describe('FilesRepository', () => {
7070 params : {
7171 size : testFileSize
7272 } ,
73- headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers ,
74- withCredentials :
75- TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . withCredentials
73+ headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers
7674 }
7775 const expectedRequestConfigSessionCookie = {
7876 params : {
@@ -245,9 +243,7 @@ describe('FilesRepository', () => {
245243 includeDeaccessioned : testIncludeDeaccessioned ,
246244 orderCriteria : testFileOrderCriteria
247245 } ,
248- headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers ,
249- withCredentials :
250- TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . withCredentials
246+ headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers
251247 }
252248 const expectedRequestConfigSessionCookie = {
253249 params : {
@@ -272,9 +268,7 @@ describe('FilesRepository', () => {
272268
273269 const expectedRequestConfigApiKeyWithOptional = {
274270 params : expectedRequestParamsWithOptional ,
275- headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers ,
276- withCredentials :
277- TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . withCredentials
271+ headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers
278272 }
279273
280274 const expectedFiles = createFilesSubsetModel ( testTotalCount )
@@ -434,9 +428,7 @@ describe('FilesRepository', () => {
434428
435429 const expectedRequestConfigApiKey = {
436430 params : { includeDeaccessioned : testIncludeDeaccessioned } ,
437- headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers ,
438- withCredentials :
439- TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . withCredentials
431+ headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers
440432 }
441433 const expectedRequestConfigSessionCookie = {
442434 params : { includeDeaccessioned : testIncludeDeaccessioned } ,
@@ -455,9 +447,7 @@ describe('FilesRepository', () => {
455447
456448 const expectedRequestConfigApiKeyWithOptional = {
457449 params : expectedRequestParamsWithOptional ,
458- headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers ,
459- withCredentials :
460- TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . withCredentials
450+ headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers
461451 }
462452
463453 const expectedCount = createFileCountsModel ( )
@@ -589,9 +579,7 @@ describe('FilesRepository', () => {
589579 mode : FileDownloadSizeMode . ARCHIVAL . toString ( ) ,
590580 includeDeaccessioned : testIncludeDeaccessioned
591581 } ,
592- headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers ,
593- withCredentials :
594- TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . withCredentials
582+ headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers
595583 }
596584 const expectedRequestConfigSessionCookie = {
597585 params : {
@@ -611,9 +599,7 @@ describe('FilesRepository', () => {
611599 categoryName : testFileCriteria . categoryName ,
612600 tabularTagName : testFileCriteria . tabularTagName
613601 } ,
614- headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers ,
615- withCredentials :
616- TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . withCredentials
602+ headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers
617603 }
618604 const expectedApiEndpoint = `${ TestConstants . TEST_API_URL } /datasets/${ testDatasetId } /versions/${ testDatasetVersionId } /downloadsize`
619605
@@ -1036,9 +1022,7 @@ describe('FilesRepository', () => {
10361022
10371023 const expectedRequestConfigApiKey = {
10381024 params : expectedRequestParams ,
1039- headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers ,
1040- withCredentials :
1041- TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . withCredentials
1025+ headers : TestConstants . TEST_EXPECTED_AUTHENTICATED_REQUEST_CONFIG_API_KEY . headers
10421026 }
10431027
10441028 const expectedRequestConfigSessionCookie = {
0 commit comments