diff --git a/test/spec/ol/format/gmlformat.test.js b/test/spec/ol/format/gmlformat.test.js index 7f1a0b7302..7717b024c9 100644 --- a/test/spec/ol/format/gmlformat.test.js +++ b/test/spec/ol/format/gmlformat.test.js @@ -3,7 +3,7 @@ goog.provide('ol.test.format.GML'); var readGeometry = function(format, text, opt_options) { var doc = ol.xml.parse(text); // we need an intermediate node for testing purposes - var node = goog.dom.createElement('PRE'); + var node = document.createElement('PRE'); node.appendChild(doc.documentElement); return format.readGeometryFromNode(node, opt_options); }; @@ -1256,7 +1256,6 @@ describe('ol.format.GML3', function() { }); -goog.require('goog.dom'); goog.require('ol.format.GML'); goog.require('ol.format.GML2'); goog.require('ol.format.GML3'); diff --git a/test/spec/ol/mapbrowserevent.test.js b/test/spec/ol/mapbrowserevent.test.js index 197677f742..c70362bf55 100644 --- a/test/spec/ol/mapbrowserevent.test.js +++ b/test/spec/ol/mapbrowserevent.test.js @@ -11,7 +11,7 @@ describe('ol.MapBrowserEventHandler', function() { beforeEach(function() { clock = sinon.useFakeTimers(); - target = goog.dom.createElement('DIV'); + target = document.createElement('DIV'); handler = new ol.MapBrowserEventHandler(new ol.Map({ target: target })); @@ -111,7 +111,6 @@ describe('ol.MapBrowserEventHandler', function() { }); }); -goog.require('goog.dom'); goog.require('ol.events'); goog.require('ol.Map'); goog.require('ol.MapBrowserEventHandler');