photoprism/internal/util/date_test.go
Michael Mayer ca8cfffc24 Backend: Prepare database for advanced filtering and grouping #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 20:24:20 +01:00

13 lines
229 B
Go

package util
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestMonths(t *testing.T) {
assert.Equal(t, "Unknown", Months[0])
assert.Equal(t, "January", Months[1])
assert.Equal(t, "December", Months[12])
}