Skip to content

Commit

Permalink
Fix testGenerateContentStream_successUnknownSafetyEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Oct 9, 2024
1 parent 2a51f09 commit ae00ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ final class GenerativeModelTests: XCTestCase {
)
let unknownSafetyRating = SafetyRating(
category: HarmCategory(rawValue: "HARM_CATEGORY_DANGEROUS_CONTENT_NEW_ENUM"),
probability: SafetyRating.HarmProbability(rawValue: "FAKE_NEW_HARM_PROBABILITY")
probability: SafetyRating.HarmProbability(rawValue: "NEGLIGIBLE_UNKNOWN_ENUM")
)

var foundUnknownSafetyRating = false
Expand Down

0 comments on commit ae00ec5

Please sign in to comment.