wip: migrate to mono-repo. SPN has already been moved to spn/
This commit is contained in:
16
spn/docks/module_test.go
Normal file
16
spn/docks/module_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package docks
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/safing/portmaster/service/core/pmtesting"
|
||||
"github.com/safing/portmaster/spn/access"
|
||||
"github.com/safing/portmaster/spn/conf"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
runningTests = true
|
||||
conf.EnablePublicHub(true) // Make hub config available.
|
||||
access.EnableTestMode() // Register test zone instead of real ones.
|
||||
pmtesting.TestMain(m, module)
|
||||
}
|
||||
Reference in New Issue
Block a user