Files
gitea/services/secrets/masterkey_nop_test.go
2022-11-25 17:48:46 +08:00

13 lines
191 B
Go

package secrets
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestNopMasterKey_IsSealed(t *testing.T) {
k := NewNopMasterKeyProvider()
assert.False(t, k.IsSealed())
}