Skip to content

Commit

Permalink
Remove shim for unish_article.module
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Jan 18, 2022
1 parent e4423ed commit 3f495ab
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/unish/CreateEntityType.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ public static function createContentEntity($testCase): void
'name' => 'Unish Article',
'machine_name' => 'unish_article',
'description' => 'A test module',
// See https://www.drupal.org/project/drupal/issues/3096609.
'package' => 'Testing',
'package' => 'Unish',
'dependencies' => 'drupal:text',
];
$testCase->drush('generate', ['module'], ['verbose' => null, 'answer' => $answers, 'destination' => Path::join($testCase->webroot(), 'modules/contrib')], null, null, $testCase::EXIT_SUCCESS, null, ['SHELL_INTERACTIVE' => 1]);
// Currently needed for Drush 10.x tests. Harmless on other versions.
$path = Path::join($testCase->webroot(), 'modules/contrib/unish_article/unish_article.info.yml');
$contents = file_get_contents($path);
file_put_contents($path, str_replace('^8 || ^9', '^8 || ^9 || ^10', $contents));


// Create a content entity type and enable its module.
// Note that only the values below are used. The keys are for documentation.
Expand Down

0 comments on commit 3f495ab

Please sign in to comment.