cleaning some tests
This commit is contained in:
parent
8684d0d148
commit
d80e95c1eb
5 changed files with 5 additions and 5 deletions
|
@ -23,7 +23,7 @@ export default BaseAuthenticator.extend({
|
|||
return RSVP.resolve(data);
|
||||
},
|
||||
|
||||
invalidate: function(data) {
|
||||
invalidate: function(/* data */) {
|
||||
return RSVP.resolve();
|
||||
},
|
||||
});
|
||||
|
|
|
@ -12,7 +12,7 @@ export default Ember.Route.extend(UnauthenticatedRouteMixin, {
|
|||
this.get('session').authenticate('authenticator:jwt-resolved', token).then(() => {
|
||||
this.get('currentUser.account').then((account) => {
|
||||
this.transitionTo('protected.users.changepassword', account.get('id'));
|
||||
})
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import resolver from './helpers/resolver';
|
||||
import flashMessageHelper from './helpers/flash-message';
|
||||
// import flashMessageHelper from './helpers/flash-message';
|
||||
|
||||
import {
|
||||
setResolver
|
||||
|
|
|
@ -5,7 +5,7 @@ import {
|
|||
|
||||
moduleForModel('measurement', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:strain']
|
||||
needs: ['model:strain', 'model:characteristic']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
|
|
|
@ -5,7 +5,7 @@ import {
|
|||
|
||||
moduleForModel('strain', {
|
||||
// Specify the other units that are required for this test.
|
||||
needs: ['model:measurement']
|
||||
needs: ['model:measurement', 'model:characteristic', 'model:species']
|
||||
});
|
||||
|
||||
test('it exists', function(assert) {
|
||||
|
|
Reference in a new issue