Skip to content

Commit

Permalink
update doc block
Browse files Browse the repository at this point in the history
  • Loading branch information
dmouse committed Jul 14, 2014
1 parent 936735f commit 6268174
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/Resources/skeleton/module/Tests/Controller/controller.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @file
* Tests for {{module}}.module.
* Contains Drupal\{{module}}\Tests\{{class_name}}Test.
*/
namespace Drupal\{{module}}\Tests;
Expand All @@ -14,6 +14,9 @@ use Drupal\simpletest\WebTestBase;
*/
class {{class_name}}Test extends WebTestBase {
/**
* Info method.
*/
public static function getInfo() {
return array(
'name' => "{{module}} {{class_name}}'s controller functionality",
Expand All @@ -22,15 +25,18 @@ class {{class_name}}Test extends WebTestBase {
);
}
function setUp() {
/**
* SetUp method.
*/
public function setUp() {
parent::setUp();
}
/**
* Tests {{module}} functionality.
*/
function test{{class_name}}() {
//Check that the basic functions of module {{module}}.
public function test{{class_name}}() {
// Check that the basic functions of module {{module}}.
$this->assertEqual(TRUE, TRUE, 'Test Unit Generated via App Console.');
}
Expand Down

0 comments on commit 6268174

Please sign in to comment.