/
githubmirror
/
photoprism
Обзор
Документация
Войти
/
githubmirror
/
photoprism
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
internal/workers/index_test.go
23 строки
372 B
Michael Mayer
Auth: Refactor cluster configuration and provisioning API endpoints #98
24 сен 2025, 09:28
24 сен 2025, 09:28
61ced71
Код
Авторство
О чём код?
package workers import ( "testing" "github.com/stretchr/testify/assert" "github.com/photoprism/photoprism/internal/config" ) func TestIndex_Start(t *testing.T) { conf := config.TestConfig() t.Logf("database-dsn: %s", conf.DatabaseDSN()) worker := NewIndex(conf) assert.IsType(t, &Index{}, worker) if err := worker.Start(); err != nil { t.Error(err) } }