Unverified Commit ccc92555 authored by larowlan's avatar larowlan
Browse files

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

parent 383360e3
<?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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment