diff --git a/java/idea-ui/testSrc/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt b/java/idea-ui/testSrc/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt index 01fa2dce851c..e0564654cf76 100644 --- a/java/idea-ui/testSrc/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt +++ b/java/idea-ui/testSrc/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkUpdateTest.kt @@ -239,7 +239,8 @@ private fun jdkItemForTest(url: String, archiveFileName = url.split("/").last(), installFolderName = url.split("/").last().removeSuffix(".tar.gz").removeSuffix(".zip"), sharedIndexAliases = listOf(), - saveToFile = {} + saveToFile = {}, + isLicenseAccepted = false ) private fun doEventsWhile(iterations: Int = Int.MAX_VALUE / 2, diff --git a/platform/lang-impl/testSources/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt b/platform/lang-impl/testSources/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt index e462963d828c..6474b86d3e65 100644 --- a/platform/lang-impl/testSources/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt +++ b/platform/lang-impl/testSources/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloaderTest.kt @@ -40,6 +40,7 @@ internal fun jdkItemForTest(url: String, jdkVersion = "123.123", jdkVendorVersion = null, suggestedSdkName = "suggested", + isLicenseAccepted = false, os = "windows", arch = "jetbrains-hardware", packageType = packageType,