RIC-1044: Add array size checks
[ric-plt/e2mgr.git] / E2Manager / tests / utils.go
index 894f554..edd3740 100644 (file)
@@ -15,6 +15,9 @@
 // limitations under the License.
 //
 
+//  This source code is part of the near-RT RIC (RAN Intelligent Controller)
+//  platform project (RICP).
+
 package tests
 
 import (
@@ -28,7 +31,8 @@ import (
 )
 
 func InitLog(t *testing.T) *logger.Logger {
-       log, err := logger.InitLogger(logger.InfoLevel)
+        InfoLevel := int8(1)
+       log, err := logger.InitLogger(InfoLevel)
        if err != nil {
                t.Errorf("#test.utils.InitLog - failed to initialize logger, error: %s", err)
        }