photoprism/internal/video/video_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

14 lines
238 B
Go

package video
import "testing"
func TestTypes(t *testing.T) {
if val := Types[""]; val != TypeMP4 {
t.Fatal("default type should be TypeMP4")
}
if val := Types["mp4"]; val != TypeMP4 {
t.Fatal("mp4 type should be TypeMP4")
}
}