public function InvoiceNumberGenerationWebTestCase::createEmptyOrder in Commerce Invoice 7
1 call to InvoiceNumberGenerationWebTestCase::createEmptyOrder()
File
- tests/
number_generation.test, line 49 - Implements tests for the theme switching rules.
Class
- InvoiceNumberGenerationWebTestCase
- @file Implements tests for the theme switching rules.
Code
public function createEmptyOrder() {
$edit = array();
$this
->drupalPost('admin/commerce/orders/add', $edit, t('Save order'));
$this
->assertText(t('Order saved.'), 'Order has been created.');
}