test

package
v0.0.0-...-dba5f35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertRecentTime

func AssertRecentTime(t *testing.T, checkTime time.Time)

func SetupMockedTestGrpcClient

func SetupMockedTestGrpcClient() *grpc_client.Clients

func SetupTestLogger

func SetupTestLogger() logger.Logger

Types

type TestDatabase

type TestDatabase struct {
	Neo4jContainer testcontainers.Container
	Driver         *neo4j.DriverWithContext
	GormDB         *gorm.DB

	CommonServices *commonService.Services
	Services       *service.Services
	GrpcClients    *grpc_client.Clients
}

func SetupTestDatabase

func SetupTestDatabase() (TestDatabase, func())

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL