Docker build file for a1 mediator
[ric-plt/a1.git] / a1-go / pkg / resthooks / resthooks_test.go
index cfad270..6b7d2ce 100644 (file)
@@ -24,6 +24,7 @@ import (
        "os"
        "testing"
 
+       "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/a1"
        "github.com/stretchr/testify/assert"
        "github.com/stretchr/testify/mock"
 )
@@ -40,6 +41,7 @@ func TestMain(m *testing.M) {
                "a1.policy_inst_metadata.1006001.qos",
        }, nil)
 
+       a1.Init()
        rh = createResthook(sdlInst)
        code := m.Run()
        os.Exit(code)