default services conflit ?

This commit is contained in:
armansansd
2022-04-27 11:30:43 +02:00
parent 28190a5749
commit 8bb1064a3b
8132 changed files with 900138 additions and 426 deletions

View File

@@ -0,0 +1,47 @@
{% extends "base/class.php.twig" %}
{% block file_path %}
\Drupal\{{module}}\Tests\{{ class_name }}.
{% endblock %}
{% block namespace_class %}
namespace Drupal\{{module}}\Tests;
{% endblock %}
{% block use_class %}
use Drupal\simpletest\WebTestBase;
{% endblock %}
{% block class_declaration %}
/**
* Provides automated tests for the {{module}} module.
*/
class {{class_name}}Test extends WebTestBase {% endblock %}
{% block class_methods %}
/**
* {@inheritdoc}
*/
public static function getInfo() {
return [
'name' => "{{module}} {{class_name}}'s controller functionality",
'description' => 'Test Unit for module {{module}} and controller {{class_name}}.',
'group' => 'Other',
];
}
/**
* {@inheritdoc}
*/
public function setUp() {
parent::setUp();
}
/**
* Tests {{module}} functionality.
*/
public function test{{class_name}}() {
// Check that the basic functions of module {{module}}.
$this->assertEquals(TRUE, TRUE, 'Test Unit Generated via Drupal Console.');
}
{% endblock %}