File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
firebase-ai/src/test/java/com/google/firebase/ai Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -68,21 +68,6 @@ internal class DevAPIUnarySnapshotTests {
68
68
}
69
69
}
70
70
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
-
86
71
@Test
87
72
fun `invalid api key` () =
88
73
goldenDevAPIUnaryFile(" unary-failure-api-key.txt" , HttpStatusCode .BadRequest ) {
You can’t perform that action at this time.
0 commit comments