mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Tests: add postgres dbdialect test
This commit is contained in:
parent
558fe0e78e
commit
99a6be26e0
1 changed files with 7 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue