You are here

protected function CommerceMigrateBaseTestCase::getOrdersCsvItem in Commerce Migrate 7

Returns raw data of an order from CSV file.

Parameters

string $order_number: Order number. See "orders.csv".

Return value

\stdClass Raw data of an order from CSV file.

1 call to CommerceMigrateBaseTestCase::getOrdersCsvItem()
CommerceMigrateTestCase::testOrder in tests/commerce_migrate_tests.test
Tests integrity of an order.

File

tests/commerce_migrate_base.test, line 129
Base facade for "Commerce Migrate" tests.

Class

CommerceMigrateBaseTestCase
Class CommerceMigrateBaseTestCase.

Code

protected function getOrdersCsvItem($order_number) {
  return $this
    ->readCsv('CommerceMigrateExampleOrdersCsv', $order_number);
}