Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
#file /app/Test/Case/Model/ContactTest.php
App::uses('Contact', 'Model');
class ContactTest extends CakeTestCase {
public $fixtures = array('app.contact');
public function setup() {
parent::setup();
$this->Contact = ClassRegistry::init('Contact');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.