# Functions
AuthInjectorTestHandler injects fake jwt with sub.
BuildDeviceDefinitionGRPC generates an array with single device definition, adds integration to response if integration passed in not nil.
No description provided by the author
BuildIntegrationDefaultGRPC depending on integration vendor, defines an integration object with typical settings.
BuildIntegrationForGRPCRequest includes tokenID when creating mock integration.
BuildIntegrationGRPC depending on integration vendor, defines an integration object with typical settings.
No description provided by the author
No description provided by the author
No description provided by the author
SetupAppFiber sets up app fiber with defaults for testing, like our production error handler.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetupCreateUserDeviceAPIIntegration status set to Active, autoPiUnitId is optional.
No description provided by the author
No description provided by the author
No description provided by the author
StartContainerDatabase starts postgres container with default test settings, and migrates the db.
TruncateTables truncates tables for the test db, useful to run as teardown at end of each DB dependent test.
# Variables
No description provided by the author
# Structs
No description provided by the author