summaryrefslogtreecommitdiff
path: root/framework/cli/views/shell/model/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/cli/views/shell/model/test.php')
-rw-r--r--framework/cli/views/shell/model/test.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/framework/cli/views/shell/model/test.php b/framework/cli/views/shell/model/test.php
new file mode 100644
index 0000000..93aa17e
--- /dev/null
+++ b/framework/cli/views/shell/model/test.php
@@ -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()
+ {
+
+ }
+} \ No newline at end of file