diff --git a/test/spec/ol/layer/vectorlayer.test.js b/test/spec/ol/layer/vectorlayer.test.js
index <HASH>..<HASH> 100644
--- a/test/spec/ol/layer/vectorlayer.test.js
+++ b/test/spec/ol/layer/vectorlayer.test.js
@@ -170,12 +170,13 @@ describe('ol.layer.Vector', function() {
 
     });
 
-    layer.dispose();
+    goog.dispose(layer);
 
   });
 
 });
 
+goog.require('goog.dispose');
 goog.require('ol.Expression');
 goog.require('ol.Feature');
 goog.require('ol.filter.Extent');
Fix use of dispose in ol.layer.Vector tests