Config: Update config_tls_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
9de5662c75
commit
ac47a0a647
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue