mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Backend: Add groom worker and test stubs #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
16
internal/workers/sync_test.go
Normal file
16
internal/workers/sync_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package workers
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/photoprism/photoprism/internal/config"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestNewSync(t *testing.T) {
|
||||
conf := config.TestConfig()
|
||||
|
||||
worker := NewSync(conf)
|
||||
|
||||
assert.IsType(t, &Sync{}, worker)
|
||||
}
|
||||
Reference in New Issue
Block a user