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 7129dbe395d6..4045033e5628 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 c3a327b50f0d..679f49c8e0e7 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 @@ -43,6 +43,7 @@ internal fun jdkItemForTest(url: String, jdkVersion = "123.123", jdkVendorVersion = null, suggestedSdkName = "suggested", + isLicenseAccepted = false, os = "windows", arch = "jetbrains-hardware", packageType = packageType,