diff --git a/pkg/mesh/manager_test.go b/pkg/mesh/manager_test.go index ad2a14a..172a5bd 100644 --- a/pkg/mesh/manager_test.go +++ b/pkg/mesh/manager_test.go @@ -51,7 +51,7 @@ func TestCreateMeshCreatesANewMeshProvider(t *testing.T) { t.Fatal(`meshId should not be empty`) } - _, exists := manager.Meshes[meshId] + _, exists := manager.GetMeshes()[meshId] if !exists { t.Fatal(`mesh was not created when it should be`) @@ -190,7 +190,7 @@ func TestLeaveMeshDeletesMesh(t *testing.T) { t.Fatalf("%s", err.Error()) } - _, exists := manager.Meshes[meshId] + _, exists := manager.GetMeshes()[meshId] if exists { t.Fatalf(`expected mesh to have been deleted`)