problem solved

This commit is contained in:
gerard 2018-08-09 14:18:15 +02:00
parent b85ae15b54
commit 37c24ba3dd
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ describe('Order', () => {
beforeEach(angular.mock.inject((_$componentController_, $rootScope, _$httpBackend_) => { beforeEach(angular.mock.inject((_$componentController_, $rootScope, _$httpBackend_) => {
$componentController = _$componentController_; $componentController = _$componentController_;
$httpBackend = _$httpBackend_; $httpBackend = _$httpBackend_;
$httpBackend.when('GET', /\/locale\/\w+\/[a-z]{2}\.json/).respond({});
$scope = $rootScope.$new(); $scope = $rootScope.$new();
$scope.card = {createOrder: () => {}}; $scope.card = {createOrder: () => {}};
$state = {params: {id: 1}}; $state = {params: {id: 1}};