diff --git a/tests/BaseTypes/Class.html b/tests/BaseTypes/Class.html
index 0aa2d93a01..11d5826c83 100644
--- a/tests/BaseTypes/Class.html
+++ b/tests/BaseTypes/Class.html
@@ -182,16 +182,16 @@
function test_Class_isInstanceOf(t) {
t.plan(7);
- var wfs = new OpenLayers.Layer.WFS({});
+ var wms = new OpenLayers.Layer.WMS({});
var drag = new OpenLayers.Control.DragFeature({});
- t.ok(wfs instanceof OpenLayers.Layer.WFS, "isInstanceOf(WFS)");
- t.ok(wfs instanceof OpenLayers.Layer, "isInstanceOf(Layer)");
- t.ok(!(wfs instanceof OpenLayers.Format), "not isInstanceOf(Format)");
+ t.ok(wms instanceof OpenLayers.Layer.WMS, "isInstanceOf(WMS)");
+ t.ok(wms instanceof OpenLayers.Layer, "isInstanceOf(Layer)");
+ t.ok(!(wms instanceof OpenLayers.Format), "not isInstanceOf(Format)");
t.ok(drag instanceof OpenLayers.Control, "drag is a control");
t.ok(!(drag instanceof OpenLayers.Layer), "drag is not a layer");
//test a class with multiple inheritance
- var BadClass=OpenLayers.Class(OpenLayers.Layer.WFS, OpenLayers.Control.DragFeature);
+ var BadClass=OpenLayers.Class(OpenLayers.Layer.WMS, OpenLayers.Control.DragFeature);
var bad = new BadClass({});
t.ok(!(bad instanceof OpenLayers.Control), "bad is a control, but it is also a layer and we cannot have two superclasses");
t.ok(bad instanceof OpenLayers.Layer, "bad is a layer, it inherits from the layer first");