Skip resets in postgres
Signed-off-by: kolaente <k@knt.li>
This commit is contained in:
parent
01852631fb
commit
49b995f16c
|
@ -51,9 +51,9 @@ func InitFixtures(tablenames ...string) (err error) {
|
|||
testfiles,
|
||||
}
|
||||
|
||||
// if config.DatabaseType.GetString() == "postgres" {
|
||||
// loaderOptions = append(loaderOptions, testfixtures.SkipResetSequences())
|
||||
// }
|
||||
if config.DatabaseType.GetString() == "postgres" {
|
||||
loaderOptions = append(loaderOptions, testfixtures.SkipResetSequences())
|
||||
}
|
||||
|
||||
fixtures, err = testfixtures.New(loaderOptions...)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue