Skip to content

Commit 255eb14

Browse files
committed
[Vertex AI] Fix testCountTokens_jsonSchema integration test
1 parent f96b347 commit 255eb14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ final class IntegrationTests: XCTestCase {
217217

218218
let response = try await model.countTokens(prompt)
219219

220-
XCTAssertEqual(response.totalTokens, 34)
221-
XCTAssertEqual(response.totalBillableCharacters, 59)
220+
XCTAssertEqual(response.totalTokens, 58)
221+
XCTAssertEqual(response.totalBillableCharacters, 160)
222222
}
223223

224224
func testCountTokens_appCheckNotConfigured_shouldFail() async throws {

0 commit comments

Comments
 (0)