test: Remove inverse relation in auth-method

This commit is contained in:
Susmitha Girumala committed 2020-09-15 17:02:36 -04:00
1 parent d9353bdc3b
commit b6c91ede40
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ export default function() {
const account = accounts.find(id);
const updatedAttrs = {
version: attrs.version,
attributes: {}
attributes: account.attributes
};
// Set new password
if (method === 'set-password') {
+1 -2
View File
@@ -2,7 +2,6 @@ import { Model, belongsTo, hasMany} from 'ember-cli-mirage';
export default Model.extend({
scope: belongsTo(),
accounts: hasMany('account')
scope: belongsTo()
});