Backend: Add groom worker and test stubs #154

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer
2020-05-26 15:15:14 +02:00
parent 24cc8089fa
commit 968cd71f34
21 changed files with 273 additions and 107 deletions

View 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)
}