Refactor type to use const values (#1695)

* refactor: 💡 use auth-method type consts
This commit is contained in:
lisbet-alvarez authored and GitHub committed 2023-05-23 12:37:35 -07:00
1 parent 8d77bc60b3
commit fde4ec4e05
13 files changed
+55 -27

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ module('Unit | Model | account', function (hooks) {
assert.expect(2);
store = this.owner.lookup('service:store');
let model = store.createRecord('account', {
type: 'password',
type: TYPE_AUTH_METHOD_PASSWORD,
});
assert.notOk(model.accountName);
model.login_name = 'foobar';