CoreThemesAutoloadedForTests.php
Same filename in other branches
Namespace
Drupal\Tests\Core\ThemeFile
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ CoreThemesAutoloadedForTests.php
View source
<?php
declare (strict_types=1);
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() : void {
$this->assertTrue(class_exists(ClaroPreRender::class), 'core/themes (ClaroPreRender) is registered with the tests autoloader');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
CoreThemesAutoloadedForTests | Confirms that core/themes is autoloaded for tests. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.