test: Remove inverse relation in auth-method
This commit is contained in:
2 files changed
+2
-3
No files matched your search
@@ -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') {
|
||||
|
||||
@@ -2,7 +2,6 @@ import { Model, belongsTo, hasMany} from 'ember-cli-mirage';
|
||||
|
||||
export default Model.extend({
|
||||
|
||||
scope: belongsTo(),
|
||||
accounts: hasMany('account')
|
||||
scope: belongsTo()
|
||||
|
||||
});
|
||||
Reference in new issue
Block a user