Skip to content
Snippets Groups Projects
Commit 4a2f12dc authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

fixed test

parent 66f7e27b
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ func TestAddPath(t *testing.T) { ...@@ -101,7 +101,7 @@ func TestAddPath(t *testing.T) {
} }
for _, test := range tests { for _, test := range tests {
adjRIBIn := NewAdjRIBIn() adjRIBIn := New()
mc := NewRTMockClient() mc := NewRTMockClient()
adjRIBIn.ClientManager.Register(mc) adjRIBIn.ClientManager.Register(mc)
...@@ -192,7 +192,7 @@ func TestRemovePath(t *testing.T) { ...@@ -192,7 +192,7 @@ func TestRemovePath(t *testing.T) {
} }
for _, test := range tests { for _, test := range tests {
adjRIBIn := NewAdjRIBIn() adjRIBIn := New()
for _, route := range test.routes { for _, route := range test.routes {
adjRIBIn.AddPath(route.Prefix(), route.Paths()[0]) adjRIBIn.AddPath(route.Prefix(), route.Paths()[0])
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment