mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
15 lines
249 B
Go
15 lines
249 B
Go
package lnd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestGetAllPermissions(t *testing.T) {
|
|
perms := GetAllPermissions()
|
|
|
|
// Currently there are there are 16 entity:action pairs in use.
|
|
assert.Equal(t, len(perms), 16)
|
|
}
|