06.03
php
saved
woodz
Note
woodz did not leave a note
woodz did not leave a note
- <?php
- App::import('Model', 'User');
- /**
- * Subclass of my model.
- */
- class UserTest extends User
- {
- var $useTable='users';
- //tried a few variations here!
- //var $useDbConfig = 'test_suite';
- //var $name = 'UserTest';
- //var $useDbConfig = 'default';
- //var $tablePrefix = '';
- }
- class UserTestCase extends CakeTestCase
- {
- var $TestUser = null;
- function tearDown() {
- //unset($this->TestUser);
- }
- function startCase()
- {
- echo "start case got run";
- $this->TestUser = new UserTest();
- exit;
- }
- function startTest()
- {
- echo "start test got run";
- exit;
- }
- /**
- *
- * @return
- */
- function testConfirmEmail()
- {
- // do stuff!
- }
- }
- ?>
Parsed in 0.039 seconds, using GeSHi 1.0.7.14