Removing Post model dependency from View test execution

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6781 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2008-05-09 17:57:36 +00:00
parent 9251801602
commit 9f6ed48362

View file

@ -34,6 +34,7 @@ if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) {
class ViewPostsController extends Controller {
var $name = 'Posts';
var $uses = null;
function index() {
$this->set('testData', 'Some test data');
$test2 = 'more data';