<?php | |
#file /app/Test/Fixture/ContactFixture.php | |
class ContactFixture extends CakeTestFixture { | |
public $fields = array( | |
'id' => array('type' => 'integer', 'key' => 'primary'), | |
'name' => array('type' => 'string', 'null' => false), | |
'surname' => array('type' => 'string', 'null' => false), | |
); | |
public $records = array( | |
array('id' => 1, 'name' => 'Walter', 'surname' => 'Raponi' ), | |
array('id' => 2, 'name' => 'Emiliano', 'surname' => 'Merlin'), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment