Fix vet check errors and conflicts

This commit is contained in:
ionutboangiu
2024-10-14 19:03:33 +03:00
committed by Dan Christian Bogos
parent 429388367a
commit b05ed15f25
19 changed files with 81 additions and 130 deletions

View File

@@ -97,6 +97,12 @@ func testAMQPStartEngine(t *testing.T) {
}
}
func testStopCgrEngine(t *testing.T) {
if err := engine.KillEngine(100); err != nil {
t.Error(err)
}
}
func testAMQPRPCConn(t *testing.T) {
var err error
amqpRPC, err = newRPCClient(amqpCfg.ListenCfg())

View File

@@ -48,12 +48,6 @@ func testCleanDirectory(t *testing.T) {
}
}
func testStopCgrEngine(t *testing.T) {
if err := engine.KillEngine(100); err != nil {
t.Error(err)
}
}
func TestGetOneData(t *testing.T) {
type testData struct {
Field1 string `json:"field1"`