forked from extern/smegmesh
25-ability-aliases
Fixed unit tests failing
This commit is contained in:
parent
68db795f47
commit
36c264b38e
@ -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`)
|
||||
|
Loading…
Reference in New Issue
Block a user