Fix pdf travis generation

Fixed "Scenario: Generating an invoice for an order that has been sent"