diff --git a/ui/core/app/router.js b/ui/core/app/router.js index 3f4ef8eff..748ad73a6 100644 --- a/ui/core/app/router.js +++ b/ui/core/app/router.js @@ -97,7 +97,6 @@ Router.map(function () { }); this.route('account', function() { - // Enable after full account feature implementation - // this.route('change-password'); + this.route('change-password'); }); }); diff --git a/ui/core/app/templates/application.hbs b/ui/core/app/templates/application.hbs index a40b1dcba..7d2f00db3 100644 --- a/ui/core/app/templates/application.hbs +++ b/ui/core/app/templates/application.hbs @@ -19,9 +19,9 @@ @iconOnly={{true}} @icon="boundary-icons/user-profile" as |dropdown| > - {{!-- + {{t 'actions.change-password'}} - --}} + diff --git a/ui/core/tests/acceptance/accounts/change-password-test.js b/ui/core/tests/acceptance/accounts/change-password-test.js index fee06b101..27a28ba3d 100644 --- a/ui/core/tests/acceptance/accounts/change-password-test.js +++ b/ui/core/tests/acceptance/accounts/change-password-test.js @@ -1,5 +1,3 @@ -// Enable after account workflow implementation -/* import { module, test } from 'qunit'; import { visit, currentURL, click, find, fillIn } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; @@ -17,7 +15,6 @@ module('Acceptance | accounts | change password', function (hooks) { setupApplicationTest(hooks); setupMirage(hooks); - const instances = { scopes: { global: null, @@ -117,6 +114,4 @@ module('Acceptance | accounts | change password', function (hooks) { await visit(urls.changePassword); assert.notEqual(currentURL(), urls.changePassword); }); - }); -*/ diff --git a/ui/core/tests/unit/routes/account/change-password-test.js b/ui/core/tests/unit/routes/account/change-password-test.js index 4481d783e..ee6856d35 100644 --- a/ui/core/tests/unit/routes/account/change-password-test.js +++ b/ui/core/tests/unit/routes/account/change-password-test.js @@ -5,8 +5,7 @@ module('Unit | Route | account/change-password', function(hooks) { setupTest(hooks); test('it exists', function(assert) { - // let route = this.owner.lookup('route:account/change-password'); - // assert.ok(route); - assert.expect(0); + let route = this.owner.lookup('route:account/change-password'); + assert.ok(route); }); });