Fixed attributes test

This commit is contained in:
andronache
2021-11-18 16:44:00 +02:00
committed by Dan Christian Bogos
parent 2d8a808326
commit c5ad8c32c8

View File

@@ -918,7 +918,7 @@ func testAttributeSProcessEventWithLibPhoneNumberFull(t *testing.T) {
Event: map[string]interface{}{
"EventName": "AddDestinationDetails",
"Destination": "+447779330921",
"DestinationDetails": "{\"Carrier\":\"Orange\",\"CountryCode\":44,\"CountryCodeSource\":1,\"Extension\":\"\",\"GeoLocation\":\"\",\"ItalianLeadingZero\":false,\"LengthOfNationalDestinationCode\":0,\"NationalNumber\":7779330921,\"NumberOfLeadingZeros\":1,\"NumberType\":1,\"PreferredDomesticCarrierCode\":\"\",\"RawInput\":\"+447779330921\",\"Region\":\"GB\"}",
"DestinationDetails": "{\"Carrier\":\"Orange\",\"CountryCode\":44,\"CountryCodeSource\":1,\"Extension\":\"\",\"GeoLocation\":\"United Kingdom\",\"ItalianLeadingZero\":false,\"LengthOfNationalDestinationCode\":0,\"NationalNumber\":7779330921,\"NumberOfLeadingZeros\":1,\"NumberType\":1,\"PreferredDomesticCarrierCode\":\"\",\"RawInput\":\"+447779330921\",\"Region\":\"GB\"}",
},
APIOpts: map[string]interface{}{
utils.OptsContext: utils.MetaSessionS,