Index: remoting/webapp/crd/js/xmpp_connection_unittest.js |
diff --git a/remoting/webapp/crd/js/xmpp_connection_unittest.js b/remoting/webapp/crd/js/xmpp_connection_unittest.js |
index a948a22130a1781700c7615f14e2c2dfe3e98584..f631e2bd8728d182701d5e9a0d9a31db16c7832d 100644 |
--- a/remoting/webapp/crd/js/xmpp_connection_unittest.js |
+++ b/remoting/webapp/crd/js/xmpp_connection_unittest.js |
@@ -70,7 +70,7 @@ QUnit.asyncTest('should go to FAILED state when failed to connect', function() { |
function onFailed() { |
sinon.assert.calledWith(socket.dispose); |
- QUnit.equal(connection.getError(), remoting.Error.NETWORK_FAILURE); |
+ QUnit.ok(connection.getError().hasTag(remoting.Error.Tag.NETWORK_FAILURE)); |
QUnit.start(); |
} |