Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
35
vendor/chi-teck/drupal-code-generator/templates/d8/test/kernel.twig
vendored
Normal file
35
vendor/chi-teck/drupal-code-generator/templates/d8/test/kernel.twig
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\Tests\{{ machine_name }}\Kernel;
|
||||
|
||||
use Drupal\KernelTests\KernelTestBase;
|
||||
|
||||
/**
|
||||
* Test description.
|
||||
*
|
||||
* @group {{ machine_name }}
|
||||
*/
|
||||
class {{ class }} extends KernelTestBase {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static $modules = ['{{ machine_name }}'];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
// Mock required services here.
|
||||
}
|
||||
|
||||
/**
|
||||
* Test callback.
|
||||
*/
|
||||
public function testSomething() {
|
||||
$result = $this->container->get('transliteration')->transliterate('Друпал');
|
||||
$this->assertEquals('Drupal', $result);
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue