Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
29
vendor/chi-teck/drupal-code-generator/templates/d8/test/unit.twig
vendored
Normal file
29
vendor/chi-teck/drupal-code-generator/templates/d8/test/unit.twig
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\Tests\{{ machine_name }}\Unit;
|
||||
|
||||
use Drupal\Tests\UnitTestCase;
|
||||
|
||||
/**
|
||||
* Test description.
|
||||
*
|
||||
* @group {{ machine_name }}
|
||||
*/
|
||||
class {{ class }} extends UnitTestCase {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
// @TODO: Mock required classes here.
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests something.
|
||||
*/
|
||||
public function testSomething() {
|
||||
$this->assertTrue(TRUE, 'This is TRUE!');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in a new issue