diff --git a/test/spec/api/map.test.js b/test/spec/api/map.test.js
index <HASH>..<HASH> 100644
--- a/test/spec/api/map.test.js
+++ b/test/spec/api/map.test.js
@@ -158,7 +158,7 @@ describe("ol.map", function() {
         
         map.destroy();
 
-        expect(goog.isDef(map.getLayers())).toBe(false);
+        expect(map.layers()).not.toBeDefined();
         
     });
map.test.js - fix the map is destroyable test in advanced mode