X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FAssertConfigTrait.php;h=7acab53b06636c7493e178e92f1274609547e29f;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=eb1588f18e8302f96dfa1bd47acf3ee5931d3c59;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/tests/Drupal/KernelTests/AssertConfigTrait.php b/web/core/tests/Drupal/KernelTests/AssertConfigTrait.php index eb1588f18..7acab53b0 100644 --- a/web/core/tests/Drupal/KernelTests/AssertConfigTrait.php +++ b/web/core/tests/Drupal/KernelTests/AssertConfigTrait.php @@ -40,7 +40,7 @@ trait AssertConfigTrait { // Allow to skip entire config files. if ($skipped_config[$config_name] === TRUE) { - continue; + break; } // Allow to skip some specific lines of imported config files. @@ -71,12 +71,12 @@ trait AssertConfigTrait { case 'Drupal\Component\Diff\Engine\DiffOpAdd': // The _core property does not exist in the default config. if ($op->closing[0] === '_core:') { - continue; + break; } foreach ($op->closing as $closing) { // The UUIDs don't exist in the default config. if (strpos($closing, 'uuid: ') === 0) { - continue; + break; } throw new \Exception($config_name . ': ' . var_export($op, TRUE)); }