mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Fixed test broken by part sync change (#7195)
This commit is contained in:
committed by
Matteo Pagliazzi
parent
bb1cb3397e
commit
ca6dca5fd0
@@ -5,13 +5,12 @@ describe('Header Controller', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
module(function($provide) {
|
||||
$provide.value('User', {});
|
||||
user = specHelper.newUser();
|
||||
user._id = "unique-user-id"
|
||||
$provide.value('User', {user: user});
|
||||
});
|
||||
|
||||
inject(function(_$rootScope_, _$controller_, _$location_){
|
||||
user = specHelper.newUser();
|
||||
user._id = "unique-user-id"
|
||||
|
||||
scope = _$rootScope_.$new();
|
||||
$rootScope = _$rootScope_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user