Skip to content
Snippets Groups Projects
Unverified Commit ccc92555 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3209048 by jedihe, jplana: Core themes are not added to the test autoloader

parent 383360e3
No related branches found
No related tags found
No related merge requests found
<?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');
}
}
......@@ -51,6 +51,7 @@ function drupal_phpunit_contrib_extension_directory_roots($root = NULL) {
$paths = [
$root . '/core/modules',
$root . '/core/profiles',
$root . '/core/themes',
$root . '/modules',
$root . '/profiles',
$root . '/themes',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment