SEBA-261
refactor to support serialize/deserialize
Change-Id: Icdc0bc2bb06a9d1c3240c0f46e1de02953a0b017
diff --git a/models/chassisMap_test.go b/models/chassisMap_test.go
index 7b30eeb..f1e5d35 100644
--- a/models/chassisMap_test.go
+++ b/models/chassisMap_test.go
@@ -23,16 +23,8 @@
)
func TestChassisMap_GetPhyChassisMap(t *testing.T) {
- firstChassisMap := models.GetPhyChassisMap()
- secondChassisMap := models.GetPhyChassisMap()
-
- if firstChassisMap != secondChassisMap {
- t.Fatalf("GetPhyChassisMap should always return pointer to same map")
- }
-}
-func TestChassisMap_GetAbstractChassisMap(t *testing.T) {
- firstChassisMap := models.GetAbstractChassisMap()
- secondChassisMap := models.GetAbstractChassisMap()
+ firstChassisMap := models.GetChassisMap()
+ secondChassisMap := models.GetChassisMap()
if firstChassisMap != secondChassisMap {
t.Fatalf("GetPhyChassisMap should always return pointer to same map")