From 378982389a3513b51fae3159cfbfda851fd3b571 Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 11 Nov 2020 13:44:42 +0100 Subject: [PATCH] Requested chagnes --- loopback/locale/es.json | 2 +- modules/ticket/front/descriptor/index.spec.js | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/loopback/locale/es.json b/loopback/locale/es.json index ba663413e..f75b1778e 100644 --- a/loopback/locale/es.json +++ b/loopback/locale/es.json @@ -160,5 +160,5 @@ "The social name cannot be empty": "La razón social no puede quedar en blanco", "The nif cannot be empty": "El NIF no puede quedar en blanco", "You need to fill sage information before you check verified data": "Debes rellenar la información de sage antes de marcar datos comprobados", - "ASSIGN_ZONE_FIRST": "ASSIGN_ZONE_FIRST" + "ASSIGN_ZONE_FIRST": "Asigna una zona primero" } \ No newline at end of file diff --git a/modules/ticket/front/descriptor/index.spec.js b/modules/ticket/front/descriptor/index.spec.js index f0a8756b8..608808448 100644 --- a/modules/ticket/front/descriptor/index.spec.js +++ b/modules/ticket/front/descriptor/index.spec.js @@ -27,12 +27,8 @@ describe('Ticket Component vnTicketDescriptor', () => { beforeEach(inject(($componentController, _$httpBackend_, _$state_) => { $httpBackend = _$httpBackend_; - // $httpBackend.whenGET(`Tickets/${ticket.id}/canHaveStowaway`).respond(true); - // $httpBackend.expect('GET', `Tickets/${ticket.id}/isEditable`).respond(true); - $state = _$state_; $state.params.id = 1; - // $state.getCurrentPath = () => [null, {state: {name: 'ticket'}}]; const $element = angular.element(''); controller = $componentController('vnTicketDescriptor', {$element}); @@ -41,7 +37,6 @@ describe('Ticket Component vnTicketDescriptor', () => { describe('loadData()', () => { it(`should perform a get query to store the ticket data into the controller`, () => { - // $httpBackend.when('GET', `Tickets/${ticket.id}/isEditable`).respond(); $httpBackend.expect('GET', `Tickets/${ticket.id}`).respond(); controller.loadData(); $httpBackend.flush();