mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
16 lines
392 B
Go
16 lines
392 B
Go
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)
|
|
}
|