github.com/decred/dcrlnd@v0.7.6/rpcserver_test.go (about)

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