CoreThemesAutoloadedForTests.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\Tests\Core\ThemeFile
core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.phpView source
<?php
namespace Drupal\Tests\Core\Theme;
use Drupal\Tests\UnitTestCase;
use Drupal\claro\ClaroPreRender;
/**
* Confirms that core/themes is autoloaded for tests.
*
* @group Theme
*/
class CoreThemesAutoloadedForTests extends UnitTestCase {
/**
* Confirms that core/themes is autoloaded for tests.
*/
public function testCoreThemesAutoloadedForTests() {
$this
->assertTrue(class_exists(ClaroPreRender::class), 'core/themes (ClaroPreRender) is registered with the tests autoloader');
}
}
Classes
Name![]() |
Description |
---|---|
CoreThemesAutoloadedForTests | Confirms that core/themes is autoloaded for tests. |