Invoices: show only custom documents in upload form (#1786)
This commit is contained in:
@@ -412,8 +412,8 @@ class InvoiceControllerTest extends ControllerBaseTest
|
||||
$this->request($client, '/invoice/document_upload');
|
||||
$this->assertTrue($client->getResponse()->isSuccessful());
|
||||
|
||||
$node = $client->getCrawler()->filter('div.box#invoice_document_list');
|
||||
self::assertEquals(1, $node->count());
|
||||
$node = $client->getCrawler()->filter('form[name=invoice_document_upload_form]');
|
||||
self::assertEquals(1, $node->count(), 'Could not find upload form');
|
||||
// we do not test the upload here, just make sure that the action can be rendered properly
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user