root/events/phpframework/akelos/trunk/app/vendor/plugins/admin/generators/admin_scaffold/sintags_templates/model_unit_test.tpl @ 20269

Revision 20269, 0.6 kB (checked in by gen, 6 years ago)

adminプ pluginとか入れてみました(はぁと

Line 
1<?php  echo '<?php'?>
2
3
4// Unit test for <?php  echo $plural_name?>. (Testing docs at http://wiki.akelos.org/testing-guide)
5// Run this test with the command
6//  ./script/test model <?php  echo $model_name?>
7
8
9class <?php  echo $model_name?>TestCase extends  AkUnitTest
10{
11    function test_setup()
12    {
13        $this->installAndIncludeModels('<?php  echo $model_name?>');
14    }
15   
16    function test_should_be_added()
17    {
18        // An instance of <?php  echo $model_name?> model is available at
19        // $this-><?php  echo $model_name; ?>
20       
21        $this->assertTrue(false);
22    }
23}
24
25
26?>
Note: See TracBrowser for help on using the browser.