File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
firebase-ai/src/test/java/com/google/firebase/ai Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,14 @@ jobs:
56
56
distribution : temurin
57
57
cache : gradle
58
58
59
- - name : Clone mock responses
59
+ - name : Clone vertexai mock responses
60
60
if : matrix.module == ':firebase-vertexai'
61
61
run : firebase-vertexai/update_responses.sh
62
62
63
+ - name : Clone ai mock responses
64
+ if : matrix.module == ':firebase-ai'
65
+ run : firebase-ai/update_responses.sh
66
+
63
67
- name : Add google-services.json
64
68
env :
65
69
INTEG_TESTS_GOOGLE_SERVICES : ${{ secrets.INTEG_TESTS_GOOGLE_SERVICES }}
Original file line number Diff line number Diff line change @@ -59,19 +59,6 @@ internal class DevAPIUnarySnapshotTests {
59
59
}
60
60
}
61
61
62
- @Test
63
- fun `quotes escaped` () =
64
- goldenDevAPIUnaryFile(" unary-success-quote-reply.txt" ) {
65
- withTimeout(testTimeout) {
66
- val response = model.generateContent(" prompt" )
67
-
68
- response.candidates.isEmpty() shouldBe false
69
- response.candidates.first().content.parts.isEmpty() shouldBe false
70
- val part = response.candidates.first().content.parts.first() as TextPart
71
- part.text shouldContain " \" "
72
- }
73
- }
74
-
75
62
@Test
76
63
fun `prompt blocked for safety` () =
77
64
goldenDevAPIUnaryFile(" unary-failure-prompt-blocked-safety.txt" ) {
You can’t perform that action at this time.
0 commit comments