photoprism/internal/workers/share_test.go
Michael Mayer 968cd71f34 Backend: Add groom worker and test stubs #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 15:15:14 +02:00

16 lines
260 B
Go

package workers
import (
"testing"
"github.com/photoprism/photoprism/internal/config"
"github.com/stretchr/testify/assert"
)
func TestNewShare(t *testing.T) {
conf := config.TestConfig()
worker := NewShare(conf)
assert.IsType(t, &Share{}, worker)
}