Skip to content

Commit

Permalink
Fixed user profile test spec
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Aug 17, 2015
1 parent 2aa86a8 commit 99a091d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/app/user/profile/profile.spec.ts
Expand Up @@ -47,6 +47,9 @@ namespace app.user.profile {
else {
return $q.when(true);
}
},
getAuthUser: () => {
return user;
}
};

Expand All @@ -69,6 +72,7 @@ namespace app.user.profile {
userService:userService,
user:user,
notificationService:notificationService,
emailConfirmed:$q.when(false), //@todo mock this properly for tests
countries: countries,
timezones: timezones,
userProfile: userProfile,
Expand Down

0 comments on commit 99a091d

Please sign in to comment.