From 37c24ba3dd8197605a89dd90e41c5d546b1f5404 Mon Sep 17 00:00:00 2001 From: gerard Date: Thu, 9 Aug 2018 14:18:15 +0200 Subject: [PATCH] problem solved --- client/order/src/card/index.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/order/src/card/index.spec.js b/client/order/src/card/index.spec.js index 45e2b1375..19ed1993c 100644 --- a/client/order/src/card/index.spec.js +++ b/client/order/src/card/index.spec.js @@ -15,6 +15,7 @@ describe('Order', () => { beforeEach(angular.mock.inject((_$componentController_, $rootScope, _$httpBackend_) => { $componentController = _$componentController_; $httpBackend = _$httpBackend_; + $httpBackend.when('GET', /\/locale\/\w+\/[a-z]{2}\.json/).respond({}); $scope = $rootScope.$new(); $scope.card = {createOrder: () => {}}; $state = {params: {id: 1}};