rpcserver_test.go 249 B

123456789101112131415
  1. package lnd
  2. import (
  3. "testing"
  4. "github.com/stretchr/testify/assert"
  5. )
  6. func TestGetAllPermissions(t *testing.T) {
  7. perms := GetAllPermissions()
  8. // Currently there are there are 16 entity:action pairs in use.
  9. assert.Equal(t, len(perms), 16)
  10. }