| Index: remoting/webapp/crd/js/host_list_api_impl_unittest.js
|
| diff --git a/remoting/webapp/crd/js/host_list_api_impl_unittest.js b/remoting/webapp/crd/js/host_list_api_impl_unittest.js
|
| index 3fe3432794ecebedd7cd22c52b8ec117ec8e8829..4baebd6e7fe83a8e2afbdf2074a9433e1a06a3c3 100644
|
| --- a/remoting/webapp/crd/js/host_list_api_impl_unittest.js
|
| +++ b/remoting/webapp/crd/js/host_list_api_impl_unittest.js
|
| @@ -65,8 +65,9 @@ QUnit.test('register with auth code', function(assert) {
|
| FAKE_HOST_NAME,
|
| FAKE_PUBLIC_KEY,
|
| FAKE_HOST_CLIENT_ID
|
| - ). then(function(authCode) {
|
| - assert.equal(authCode, FAKE_AUTH_CODE);
|
| + ). then(function(regResult) {
|
| + assert.equal(regResult.authCode, FAKE_AUTH_CODE);
|
| + assert.equal(regResult.email, '');
|
| });
|
| });
|
|
|
| @@ -78,8 +79,9 @@ QUnit.test('register without auth code', function(assert) {
|
| FAKE_HOST_NAME,
|
| FAKE_PUBLIC_KEY,
|
| FAKE_HOST_CLIENT_ID
|
| - ). then(function(authCode) {
|
| - assert.equal(authCode, '');
|
| + ). then(function(regResult) {
|
| + assert.equal(regResult.authCode, '');
|
| + assert.equal(regResult.email, '');
|
| });
|
| });
|
|
|
|
|