I release step 2 of 2
[ric-plt/e2mgr.git] / E2Manager / converters / x2apPdu_asn1_unpacker_test.go
index 7622f85..6306022 100644 (file)
@@ -1,5 +1,4 @@
-/*******************************************************************************
- *
+/*
  *   Copyright (c) 2019 AT&T Intellectual Property.
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *   See the License for the specific language governing permissions and
  *   limitations under the License.
- *
- *******************************************************************************/
+ */
+
+/*
+ * This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ * platform project (RICP).
+ */
+
 package converters
 
 import (
@@ -31,7 +35,8 @@ import (
  */
 
 func TestUnpackX2apSetupResponse(t *testing.T) {
-       logger, _ := logger.InitLogger(logger.DebugLevel)
+       DebugLevel := int8(4)
+       logger, _ := logger.InitLogger(DebugLevel)
 
        wantPduAsStr := `SuccessfulOutcome ::= {
             procedureCode: 6
@@ -104,7 +109,8 @@ func TestUnpackX2apSetupResponse(t *testing.T) {
 /*unpacking error*/
 
 func TestUnpackX2apSetupResponseUnpackError(t *testing.T) {
-       logger, _ := logger.InitLogger(logger.InfoLevel)
+       InfoLevel := int8(3)
+       logger, _ := logger.InitLogger(InfoLevel)
 
        wantError := "unpacking error: #src/asn1codec_utils.c.unpack_pdu_aux - Failed to decode E2AP-PDU (consumed 0), error = 0 Success"
        //--------------------2006002a