Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FullTestDBEmptyV2 ¶
func FullTestDBEmptyV2(t testing.TB, name string, overrideFn func(c *chainlink.Config, s *chainlink.Secrets)) (chainlink.GeneralConfig, *sqlx.DB)
FullTestDBEmptyV2 creates an empty DB (without migrations).
func FullTestDBNoFixturesV2 ¶
func FullTestDBNoFixturesV2(t testing.TB, name string, overrideFn func(c *chainlink.Config, s *chainlink.Secrets)) (chainlink.GeneralConfig, *sqlx.DB)
FullTestDBNoFixturesV2 is the same as FullTestDB, but it does not load fixtures.
func FullTestDBV2 ¶
func FullTestDBV2(t testing.TB, name string, overrideFn func(c *chainlink.Config, s *chainlink.Secrets)) (chainlink.GeneralConfig, *sqlx.DB)
FullTestDBV2 creates a pristine DB which runs in a separate database than the normal unit tests, so you can do things like use other Postgres connection types with it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.