Fetching latest commit…
Cannot retrieve the latest commit at this time
|Failed to load latest commit information.|
/* * CakePHP Model Unit Test Template * Copyright (c) 2008 Matt Curry * www.PseudoCoder.com * http://github.com/mcurry/cakephp/tree/master/test_sample * * @author Matt Curry <email@example.com> * @license MIT * */ /* Description */ A short template for doing CakePHP model unit test. The differences from the baked test files: - The fixture uses "var import" to get the schema from the original table. - The model test doesn't need a mock model. It uses ClassRegistry::init to load the original model, but sets it to use the test db.