From ea2f5a4ae86eb995c6b29b7d05e73c94149156d0 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 9 Feb 2020 21:38:39 +0000 Subject: [PATCH] Change the description string --- fixtures/drupal7_module/drupal7_module.info | 2 +- tests/Command/GenerateDrupal7ModuleCommandTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fixtures/drupal7_module/drupal7_module.info b/fixtures/drupal7_module/drupal7_module.info index 96ec5b6..191e4dd 100644 --- a/fixtures/drupal7_module/drupal7_module.info +++ b/fixtures/drupal7_module/drupal7_module.info @@ -1,3 +1,3 @@ name = {{ name }} -description = The description for {{ name }}. +description = {{ name }} module. core = 7.x diff --git a/tests/Command/GenerateDrupal7ModuleCommandTest.php b/tests/Command/GenerateDrupal7ModuleCommandTest.php index 3bfa196..5a3c4ff 100644 --- a/tests/Command/GenerateDrupal7ModuleCommandTest.php +++ b/tests/Command/GenerateDrupal7ModuleCommandTest.php @@ -69,7 +69,7 @@ final class GenerateDrupal7ModuleCommandTest extends TestCase $contents = file_get_contents('test_module/test_module.info'); $this->assertStringContainsString('name = Test Module', $contents); - $this->assertStringContainsString('description = The description for Test Module.', $contents); + $this->assertStringContainsString('description = Test Module module.', $contents); } /** @test */