photoprism/pkg/report/credentials_test.go
2024-01-17 14:56:08 +01:00

13 lines
241 B
Go

package report
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestCredentials(t *testing.T) {
r := Credentials("Name", "Value", "secretName", "secretValue")
assert.NotEmpty(t, r)
assert.Contains(t, r, "secretName")
}