Skip to content

Commit 390e773

Browse files
committed
Remove duplicated test
1 parent c4ea253 commit 390e773

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,6 @@ internal class DevAPIUnarySnapshotTests {
5757
}
5858
}
5959

60-
@Test
61-
fun `response blocked for safety`() =
62-
goldenDevAPIUnaryFile("unary-failure-finish-reason-safety.json") {
63-
withTimeout(testTimeout) {
64-
shouldThrow<ResponseStoppedException> { model.generateContent("prompt") } should
65-
{
66-
it.response.candidates[0].finishReason shouldBe FinishReason.SAFETY
67-
}
68-
}
69-
}
7060

7161
@Test
7262
fun `citation returns correctly`() =

0 commit comments

Comments
 (0)