Skip to content

Commit 318feaa

Browse files
author
David Motsonashvili
committed
remove test that keeps timing out
1 parent 268bcca commit 318feaa

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

firebase-ai/src/test/java/com/google/firebase/ai/DevAPIUnarySnapshotTests.kt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,6 @@ internal class DevAPIUnarySnapshotTests {
6868
}
6969
}
7070

71-
@Test
72-
fun `citation returns correctly`() =
73-
goldenDevAPIUnaryFile("unary-success-citations.txt") {
74-
withTimeout(testTimeout) {
75-
val response = model.generateContent("prompt")
76-
77-
response.candidates.isEmpty() shouldBe false
78-
response.candidates.first().citationMetadata?.citations?.size shouldBe 4
79-
response.candidates.first().citationMetadata?.citations?.forEach {
80-
it.startIndex shouldNotBe null
81-
it.endIndex shouldNotBe null
82-
}
83-
}
84-
}
85-
8671
@Test
8772
fun `invalid api key`() =
8873
goldenDevAPIUnaryFile("unary-failure-api-key.txt", HttpStatusCode.BadRequest) {

0 commit comments

Comments
 (0)