Skip to content

Commit acd6026

Browse files
committed
[Ai] Fix test code to point to the right resource dir
The devAPI helper method should read from the `googleai/` directory instead of the `vertexai/` one.
1 parent 4b12b33 commit acd6026

File tree

1 file changed

+2
-2
lines changed
  • firebase-ai/src/test/java/com/google/firebase/ai/util

1 file changed

+2
-2
lines changed

firebase-ai/src/test/java/com/google/firebase/ai/util/tests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import java.io.File
3939
import kotlinx.coroutines.launch
4040
import org.mockito.Mockito
4141

42-
private val TEST_CLIENT_ID = "firebase-vertexai-android/test"
42+
private val TEST_CLIENT_ID = "firebase-ai-android/test"
4343
private val TEST_APP_ID = "1:android:12345"
4444
private val TEST_VERSION = 1
4545

@@ -193,7 +193,7 @@ internal fun goldenDevAPIStreamingFile(
193193
name: String,
194194
httpStatusCode: HttpStatusCode = HttpStatusCode.OK,
195195
block: CommonTest,
196-
) = goldenStreamingFile("vertexai/$name", httpStatusCode, GenerativeBackend.googleAI(), block)
196+
) = goldenStreamingFile("googleai/$name", httpStatusCode, GenerativeBackend.googleAI(), block)
197197

198198
/**
199199
* A variant of [commonTest] for performing snapshot tests.

0 commit comments

Comments
 (0)