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 a36261f9fba4059d3ae0f1d14d9846225fd52f70..8d133887011e178033e79dadeed990f9072512a8 100644 |
--- a/remoting/webapp/unittests/xmpp_connection_unittest.js |
+++ b/remoting/webapp/unittests/xmpp_connection_unittest.js |
@@ -56,7 +56,7 @@ test('should go to FAILED state when failed to connect', function() { |
chrome.socket.connect, socketId, "xmpp.example.com", 123); |
chrome.socket.connect.getCall(0).args[3](-1); |
- QUnit.equal(connection.getError(), remoting.Error.NETWORK_FAILURE); |
+ QUnit.equal(connection.getError().tag, remoting.Error.Tag.NETWORK_FAILURE); |
}); |
test('should use XmppLoginHandler to complete handshake and read data', |