Index: remoting/webapp/unittests/xmpp_connection_unittest.js |
diff --git a/remoting/webapp/unittests/xmpp_connection_unittest.js b/remoting/webapp/unittests/xmpp_connection_unittest.js |
index a948a22130a1781700c7615f14e2c2dfe3e98584..a304cf53ee9e785c0f278e03cc982df5862a27ac 100644 |
--- a/remoting/webapp/unittests/xmpp_connection_unittest.js |
+++ b/remoting/webapp/unittests/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.equal(connection.getError().tag, remoting.Error.Tag.NETWORK_FAILURE); |
QUnit.start(); |
} |