@@ -156,6 +156,7 @@ test.serial(
156156 compressionMethod : "gzip" ,
157157 sourceType : "download" ,
158158 toolsVersion : "1.2.3" ,
159+ apiDetails : SAMPLE_DOTCOM_API_DETAILS ,
159160 } satisfies setupCodeql . CodeQLDownloadSource ) ;
160161 } ) ;
161162 } ,
@@ -435,6 +436,7 @@ test.serial(
435436 compressionMethod : "zstd" ,
436437 sourceType : "download" ,
437438 toolsVersion : expectedVersion ,
439+ apiDetails : SAMPLE_DOTCOM_API_DETAILS ,
438440 } satisfies setupCodeql . CodeQLToolsSource ) ;
439441
440442 const result = await setupCodeql . setupCodeQLBundle (
@@ -508,6 +510,7 @@ test.serial(
508510 compressionMethod : "zstd" ,
509511 sourceType : "download" ,
510512 toolsVersion : expectedVersion ,
513+ apiDetails : SAMPLE_DOTCOM_API_DETAILS ,
511514 } satisfies setupCodeql . CodeQLToolsSource ) ;
512515
513516 // Afterwards, ensure that we see the expected messages in the log.
@@ -655,6 +658,7 @@ for (const toolsInput of ["nightly", "nightly-latest"]) {
655658 cliVersion : undefined ,
656659 compressionMethod : "zstd" ,
657660 toolsVersion : "0.0.0-30260213" ,
661+ apiDetails : SAMPLE_DOTCOM_API_DETAILS ,
658662 } satisfies setupCodeql . CodeQLDownloadSource ) ;
659663 t . true ( latestNightlyRequest . calledOnce ) ;
660664 } ) ;
@@ -807,6 +811,7 @@ for (const date of ["20200101", "30260213"]) {
807811 cliVersion : undefined ,
808812 compressionMethod : "zstd" ,
809813 toolsVersion : `0.0.0-${ date } ` ,
814+ apiDetails : SAMPLE_DOTCOM_API_DETAILS ,
810815 } satisfies setupCodeql . CodeQLDownloadSource ) ;
811816
812817 await t . throwsAsync (
@@ -1864,8 +1869,8 @@ async function runDownloadCodeQL(
18641869 cliVersion : CLEANUP_CLI_VERSION ,
18651870 sourceType : "download" ,
18661871 toolsVersion : CLEANUP_CLI_VERSION ,
1872+ apiDetails : SAMPLE_DOTCOM_API_DETAILS ,
18671873 } ,
1868- SAMPLE_DOTCOM_API_DETAILS ,
18691874 undefined , // tarVersion
18701875 toolcacheRoot , // tempDir
18711876 ) ;
0 commit comments