We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f936083 commit 62d5b82Copy full SHA for 62d5b82
FirebaseVertexAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift
@@ -64,6 +64,18 @@ final class IntegrationTests: XCTestCase {
64
storage = Storage.storage()
65
}
66
67
+ func testDebugTokenProvided() {
68
+ if ProcessInfo.processInfo.environment["FIRAAppCheckDebugToken"] == nil {
69
+ XCTFail("No App Check debug token provided in FIRAAppCheckDebugToken.")
70
+ }
71
72
+
73
+ func testDebugTokenNotProvided() {
74
+ if ProcessInfo.processInfo.environment["FIRAAppCheckDebugToken"] != nil {
75
+ XCTFail("Token not provided; intentionally failing for testing.")
76
77
78
79
// MARK: - Generate Content
80
81
func testGenerateContent() async throws {
0 commit comments