public function UcAddressesOrderTestCase::testOrderExtraFields in Ubercart Addresses 7
Same name and namespace in other branches
- 6.2 tests/uc_addresses.order.test \UcAddressesOrderTestCase::testOrderExtraFields()
Test if editing an order works properly when an extra field is added.
File
- tests/
uc_addresses.order.test, line 77 - Test cases for order admin.
Class
- UcAddressesOrderTestCase
- Test cases order administration.
Code
public function testOrderExtraFields() {
$definition = array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
);
db_add_field('uc_orders', 'delivery_extra_field', $definition);
$this
->testOrderEditing();
}