github.com/decred/politeia@v1.4.0/politeiad/backendv2/tstorebe/plugins/plugins_test.go (about) 1 // Copyright (c) 2021 The Decred developers 2 // Use of this source code is governed by an ISC 3 // license that can be found in the LICENSE file. 4 5 package plugins 6 7 import ( 8 "testing" 9 10 "github.com/decred/politeia/util/unittest" 11 ) 12 13 func TestHooks(t *testing.T) { 14 err := unittest.TestGenericConstMap(Hooks, uint64(HookTypeLast)) 15 if err != nil { 16 t.Error(err) 17 } 18 }