Added new (clean) yii boilerplate
This commit is contained in:
21
framework/cli/views/shell/model/test.php
Normal file
21
framework/cli/views/shell/model/test.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* This is the template for generating the unit test for a model class.
|
||||
* The following variables are available in this template:
|
||||
* - $className: the class name
|
||||
* - $fixtureName: the fixture name
|
||||
*/
|
||||
?>
|
||||
<?php echo "<?php\n"; ?>
|
||||
|
||||
class <?php echo $className; ?>Test extends CDbTestCase
|
||||
{
|
||||
public $fixtures=array(
|
||||
'<?php echo $fixtureName; ?>'=>'<?php echo $className; ?>',
|
||||
);
|
||||
|
||||
public function testCreate()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user