Populate more of the test stub
This commit is contained in:
parent
ea2f5a4ae8
commit
0d6bd4e070
3 changed files with 25 additions and 2 deletions
tests/Command
|
@ -109,6 +109,12 @@ final class GenerateDrupal7ModuleCommandTest extends TestCase
|
|||
|
||||
$contents = file_get_contents('test_module/src/Tests/Functional/TestModuleTest.php');
|
||||
|
||||
$this->assertStringContainsString('namespace Drupal\\test_module\\Tests\\Functional', $contents);
|
||||
|
||||
$this->assertStringContainsString('final class TestModuleTest', $contents);
|
||||
|
||||
$this->assertStringContainsString("'name' => 'Test Module'", $contents);
|
||||
$this->assertStringContainsString("'description' => 'Test Module tests.'", $contents);
|
||||
$this->assertStringContainsString("'group' => 'Test Module'", $contents);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue