mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-30 12:32:49 +09:00
16 lines
282 B
Go
16 lines
282 B
Go
// Copyright 2022 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package secrets
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestNopMasterKey_IsSealed(t *testing.T) {
|
|
k := NewNopMasterKeyProvider()
|
|
assert.False(t, k.IsSealed())
|
|
}
|