Documentation ¶
Overview ¶
Package internal contains utilities for running integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIKey ¶
APIKey fetches a Firebase API key for integration tests.
APIKey reads the API key string from a file named integration_apikey.txt in the testdata directory.
func NewHTTPClient ¶
NewHTTPClient creates an HTTP client for making authorized requests during tests.
func NewTestApp ¶
NewTestApp creates a new App instance for integration tests.
NewTestApp looks for a service account JSON file named integration_cert.json in the testdata directory. This file is used to initialize the newly created App instance.
func ProjectID ¶
ProjectID fetches a Google Cloud project ID for integration tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.