| 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 38aa6c296c5622c69d18cc0bc863f57c3b59d367..f99f94c008295e7e678797bc0ba09c8090c42f4b 100644
|
| --- a/remoting/webapp/unittests/xmpp_connection_unittest.js
|
| +++ b/remoting/webapp/unittests/xmpp_connection_unittest.js
|
| @@ -63,7 +63,7 @@ test('should go to FAILED state when failed to connect', function() {
|
| chrome.socket.connect, socketId, "xmpp.example.com", 123);
|
| chrome.socket.connect.$testStub.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',
|
|
|