67 lines
957 B
PHP
67 lines
957 B
PHP
|
<?php
|
||
|
/* Users Test cases generated on: 2011-05-29 21:10:58 : 1306696258*/
|
||
|
App::import('Controller', 'Users');
|
||
|
|
||
|
class TestUsersController extends UsersController {
|
||
|
var $autoRender = false;
|
||
|
|
||
|
function redirect($url, $status = null, $exit = true) {
|
||
|
$this->redirectUrl = $url;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class UsersControllerTestCase extends CakeTestCase {
|
||
|
var $fixtures = array('app.user', 'app.translation', 'app.identifier', 'app.translation_file', 'app.language', 'app.vote');
|
||
|
|
||
|
function startTest() {
|
||
|
$this->Users =& new TestUsersController();
|
||
|
$this->Users->constructClasses();
|
||
|
}
|
||
|
|
||
|
function endTest() {
|
||
|
unset($this->Users);
|
||
|
ClassRegistry::flush();
|
||
|
}
|
||
|
|
||
|
function testIndex() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testView() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testAdd() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testEdit() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testDelete() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testAdminIndex() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testAdminView() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testAdminAdd() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testAdminEdit() {
|
||
|
|
||
|
}
|
||
|
|
||
|
function testAdminDelete() {
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|