Populate more of the test stub
This commit is contained in:
parent
ea2f5a4ae8
commit
0d6bd4e070
3 changed files with 25 additions and 2 deletions
fixtures/drupal7_module/src/Tests/Functional
|
@ -1,5 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\{{ name }}\Tests\Functional;
|
||||
namespace Drupal\{{ machine_name }}\Tests\Functional;
|
||||
|
||||
final class {{ test_name }} extends \DrupalWebTestCase {}
|
||||
final class {{ test_name }} extends \DrupalWebTestCase {
|
||||
|
||||
public static function getInfo() {
|
||||
return array(
|
||||
'name' => '{{ name }}',
|
||||
'description' => '{{ name }} tests.',
|
||||
'group' => '{{ name }}',
|
||||
);
|
||||
}
|
||||
|
||||
public function test_that_the_front_page_loads() {
|
||||
$this->drupalGet('<front>');
|
||||
|
||||
$this->assertResponse(200);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue