2245-ticket_component #369
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#369
Loading…
Reference in New Issue
No description provided.
Delete Branch "2245-ticket_component"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: 2245-ticket_componentto 2245-ticket_componentLGTM
@ -67,0 +76,4 @@
</section>
</div>
<div class="totalBox align-left">
<h6 class="align-center" translate>Theorical port</h6>
Theorical cost / fee / charges / expenses
Theorical cost / fee / charges / expenses
@ -89,0 +107,4 @@
});
describe('getTheoricalCost()', () => {
it('should make a request to get the theorical port of a ticket', () => {
theorical cost
@ -89,0 +111,4 @@
controller._ticket = {
id: 7
};
$httpBackend.expect('GET', `Tickets/${controller._ticket.id}/freightCost`).respond('My freight port');
freight cost
@ -89,0 +115,4 @@
controller.getTheoricalCost();
$httpBackend.flush();
expect(controller.theoricalCost).toBe('My freight port');
freight cost