diff --git a/internal/core/notification/notification_test.go b/internal/core/notification/notification_test.go index ceb3f2d3f0b7469088e893c2e1187cc67548b5ff..5477a4dc2f492bd1e1edb4b9a606d6506d26b4ca 100644 --- a/internal/core/notification/notification_test.go +++ b/internal/core/notification/notification_test.go @@ -1,4 +1,4 @@ -package main +package notification import ( "github.com/astaxie/beego" @@ -11,7 +11,7 @@ import ( ) func init() { - beego.LoadAppConfig("ini", "./app.unittest.conf") + _ = beego.LoadAppConfig("ini", "./app.unittest.conf") } func Test_SEND_SHOULD_NO_ERROR(t *testing.T) { @@ -27,6 +27,7 @@ func Test_SEND_SHOULD_NO_ERROR(t *testing.T) { return resp, nil }, ) + var temp notification.INotify mockResult := new(messages.StepCallbackResult) diff --git a/internal/core/pipelinemgr/utils_test.go b/internal/core/pipelinemgr/utils_test_exp.go similarity index 100% rename from internal/core/pipelinemgr/utils_test.go rename to internal/core/pipelinemgr/utils_test_exp.go