Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fbdb31f848

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
models
tests
README
test.sql

README

/*
 * 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 <matt@pseudocoder.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.
Something went wrong with that request. Please try again.