photoprism/internal/query/errors_test.go
2020-07-13 11:40:49 +02:00

15 lines
228 B
Go

package query
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestErrors(t *testing.T) {
errors, err := Errors(1000, 0, "notexistingErrorString")
if err != nil {
t.Fatal(err)
}
assert.Empty(t, errors)
}