added command to create invoices via bash (#1574)
This commit is contained in:
@@ -58,7 +58,7 @@ class CsvRendererTest extends TestCase
|
||||
|
||||
$file = $response->getFile();
|
||||
$this->assertEquals('text/csv', $response->headers->get('Content-Type'));
|
||||
$filename = $model->getNumberGenerator()->getInvoiceNumber() . '-customer_with_special_name.csv';
|
||||
$filename = $model->getInvoiceNumber() . '-customer_with_special_name.csv';
|
||||
$this->assertEquals('attachment; filename=' . $filename, $response->headers->get('Content-Disposition'));
|
||||
|
||||
$this->assertTrue(file_exists($file->getRealPath()));
|
||||
|
||||
Reference in New Issue
Block a user