ShipmentFixture.php 448 B

12345678910111213141516
  1. <?php
  2. class ShipmentFixture extends CakeTestFixture {
  3. public $fields = [
  4. 'id' => ['type' => 'integer', 'key' => 'primary'],
  5. 'ship_date' => ['type' => 'date'],
  6. 'order_item_id' => ['type' => 'integer']
  7. ];
  8. public $records = [
  9. ['id' => 320, 'ship_date' => '2011-01-07', 'order_item_id' => 50],
  10. ['id' => 319, 'ship_date' => '2011-01-07', 'order_item_id' => 50],
  11. ['id' => 310, 'ship_date' => '2011-01-07', 'order_item_id' => 50]
  12. ];
  13. }