Config: Update config_tls_test.go

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-10-22 22:56:15 +02:00
parent 9de5662c75
commit ac47a0a647

View file

@ -31,13 +31,13 @@ func TestConfig_TLSEmail(t *testing.T) {
func TestConfig_TLSCert(t *testing.T) {
c := NewConfig(CliTestContext())
assert.Equal(t, "", c.TLSCert())
assert.Equal(t, "/etc/ssl/certs/photoprism.me.crt", c.TLSCert())
}
func TestConfig_TLSKey(t *testing.T) {
c := NewConfig(CliTestContext())
assert.Equal(t, "", c.TLSKey())
assert.Equal(t, "/etc/ssl/private/photoprism.me.key", c.TLSKey())
}
func TestConfig_TLS(t *testing.T) {