From 41af466621d84364304ca6a6cf079478abdad400 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Fri, 22 May 2026 10:06:53 -0400 Subject: [PATCH] fix(android): add kotlin-test test dep for assertEquals/assertNull MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AuthCookieInterceptorTest imports `kotlin.test.assertEquals` / `kotlin.test.assertNull` which weren't resolving without the explicit kotlin-test dep. `kotlin("test")` is sourced from the applied Kotlin plugin (built-in via AGP 9), so no version pin needed. Hilt + KSP code generation worked correctly in the prior run — hiltAggregateDepsDebug succeeded; the failure was purely test-side. Co-Authored-By: Claude Opus 4.7 (1M context) --- android/app/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index ce912a70..4502eab1 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -157,6 +157,9 @@ dependencies { testImplementation(libs.mockk) testImplementation(libs.kotlinx.coroutines.test) testImplementation(libs.okhttp.mockwebserver) + // kotlin.test for assertEquals/assertNull/etc. — version managed by + // the applied Kotlin plugin so no explicit version pin needed. + testImplementation(kotlin("test")) androidTestImplementation(platform(libs.compose.bom)) androidTestImplementation(libs.compose.ui.test)