17 lines
257 B
Go
17 lines
257 B
Go
|
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)
|
||
|
}
|