VOL-4075: Bugfix for TestRequest MsgLayer type being set incorrectly during message layer decode.
Change-Id: Ie6c785502913d140bdb1d774ace147d15ca592d2
VOL-4075: Bugfix for TestRequest MsgLayer type being set incorrectly during message layer decode.
Change-Id: If70d40c8eee75bf04a9f1e4636a581781571379f
diff --git a/messagetypes_test.go b/messagetypes_test.go
index 23e020c..399fc34 100644
--- a/messagetypes_test.go
+++ b/messagetypes_test.go
@@ -3852,7 +3852,7 @@
assert.Equal(t, BaselineIdent, omciMsg.DeviceIdentifier)
assert.Equal(t, uint16(40), omciMsg.Length)
- msgLayer := packet.Layer(LayerTypeTestResult)
+ msgLayer := packet.Layer(LayerTypeTestRequest)
assert.NotNil(t, msgLayer)
// This is a generic struct since we do not do detailed decode
@@ -3900,7 +3900,7 @@
assert.Equal(t, BaselineIdent, omciMsg.DeviceIdentifier)
assert.Equal(t, uint16(40), omciMsg.Length)
- msgLayer := packet.Layer(LayerTypeTestResult)
+ msgLayer := packet.Layer(LayerTypeTestRequest)
assert.NotNil(t, msgLayer)
// This is a optical line test results