photoprism/internal/config/report_test.go

14 lines
210 B
Go
Raw Normal View History

2023-08-30 14:30:06 +00:00
package config
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestConfig_Report(t *testing.T) {
m := NewConfig(CliTestContext())
r, _ := m.Report()
assert.GreaterOrEqual(t, len(r), 1)
}