Tests: add postgres dbdialect test

This commit is contained in:
Keith Martin 2025-12-01 16:26:57 +10:00
parent 558fe0e78e
commit 99a6be26e0

View file

@ -62,6 +62,13 @@ func TestDbDialect(t *testing.T) {
}
assert.Equal(t, MySQL, DbDialect())
})
t.Run("Postgres", func(t *testing.T) {
if DbDialect() != Postgres {
t.SkipNow()
}
assert.Equal(t, Postgres, DbDialect())
})
}
func TestBatchSize(t *testing.T) {