clean install

This commit is contained in:
matze committed 2024-12-10 15:08:16 +01:00
commit e14eb2d8fd
31193 files changed
+3555714

No files matched your search

@@ -0,0 +1,44 @@
<?php
declare(strict_types=1);
namespace Drupal\Tests\{{ machine_name }}\Functional;
use Drupal\Tests\BrowserTestBase;
/**
* Test description.
*
* @group {{ machine_name }}
*/
final class {{ class }} extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'claro';
/**
* {@inheritdoc}
*/
protected static $modules = ['{{ machine_name }}'];
/**
* {@inheritdoc}
*/
protected function setUp(): void {
parent::setUp();
// Set up the test here.
}
/**
* Test callback.
*/
public function testSomething(): void {
$admin_user = $this->drupalCreateUser(['administer site configuration']);
$this->drupalLogin($admin_user);
$this->drupalGet('/admin/config/system/site-information');
$this->assertSession()->elementExists('xpath', '//h1[text() = "Basic site settings"]');
}
}