You are here

public function InvoiceNumberGenerationWebTestCase::createEmptyOrder in Commerce Invoice 7

1 call to InvoiceNumberGenerationWebTestCase::createEmptyOrder()
InvoiceNumberGenerationWebTestCase::testSimpleIdNumberGeneration in tests/number_generation.test

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.');
}