mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
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:
parent
9251801602
commit
9f6ed48362
1 changed files with 1 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue