Skip to content
Snippets Groups Projects
Commit 7471e595 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #3086373 by heddn, Mile23, Mixologic: Build test framework cleanup: bootstrap and tests

parent 11089096
No related branches found
No related tags found
6 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!144Issue #2666286: Clean up menu_ui to conform to Drupal coding standards
...@@ -529,6 +529,7 @@ public function providerTestGetPhpunitTestSuite() { ...@@ -529,6 +529,7 @@ public function providerTestGetPhpunitTestSuite() {
$data['core-kerneltest'] = ['\Drupal\KernelTests\KernelTestBaseTest', 'Kernel']; $data['core-kerneltest'] = ['\Drupal\KernelTests\KernelTestBaseTest', 'Kernel'];
$data['core-functionaltest'] = ['\Drupal\FunctionalTests\ExampleTest', 'Functional']; $data['core-functionaltest'] = ['\Drupal\FunctionalTests\ExampleTest', 'Functional'];
$data['core-functionaljavascripttest'] = ['\Drupal\FunctionalJavascriptTests\ExampleTest', 'FunctionalJavascript']; $data['core-functionaljavascripttest'] = ['\Drupal\FunctionalJavascriptTests\ExampleTest', 'FunctionalJavascript'];
$data['core-buildtest'] = ['\Drupal\BuildTests\Framework\Tests\BuildTestTest', 'Build'];
return $data; return $data;
} }
......
...@@ -88,7 +88,7 @@ function drupal_phpunit_contrib_extension_directory_roots($root = NULL) { ...@@ -88,7 +88,7 @@ function drupal_phpunit_contrib_extension_directory_roots($root = NULL) {
* An associative array of extension directories, keyed by their namespace. * An associative array of extension directories, keyed by their namespace.
*/ */
function drupal_phpunit_get_extension_namespaces($dirs) { function drupal_phpunit_get_extension_namespaces($dirs) {
$suite_names = ['Unit', 'Kernel', 'Functional', 'FunctionalJavascript']; $suite_names = ['Unit', 'Kernel', 'Functional', 'Build', 'FunctionalJavascript'];
$namespaces = []; $namespaces = [];
foreach ($dirs as $extension => $dir) { foreach ($dirs as $extension => $dir) {
if (is_dir($dir . '/src')) { if (is_dir($dir . '/src')) {
......
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