diff --git a/core/modules/config/src/Tests/ConfigImportAllTest.php b/core/modules/config/src/Tests/ConfigImportAllTest.php index 7af796e..4cd4a3c 100644 --- a/core/modules/config/src/Tests/ConfigImportAllTest.php +++ b/core/modules/config/src/Tests/ConfigImportAllTest.php @@ -71,10 +71,6 @@ public function testInstallUninstall() { $fields = \Drupal::entityManager()->getStorage('field_config')->loadMultiple(); \Drupal::entityManager()->getStorage('field_config')->delete($fields); - // Purge the data. Need to call this twice to actually remove all the - // fields. First time around will purge the instances. Second time will - // delete the instances and fields. - field_purge_batch(1000); field_purge_batch(1000); system_list_reset(); diff --git a/core/modules/filter/src/Tests/FilterAPITest.php b/core/modules/filter/src/Tests/FilterAPITest.php index d68986c..f575ec3 100644 --- a/core/modules/filter/src/Tests/FilterAPITest.php +++ b/core/modules/filter/src/Tests/FilterAPITest.php @@ -329,7 +329,7 @@ function testTypedDataAPI() { } /** - * Tests that FilterFormat::preSave() only saves customised plugins. + * Tests that FilterFormat::preSave() only saves customized plugins. */ public function testFilterFormatPreSave() { /** @var \Drupal\filter\FilterFormatInterface $crazy_format */ @@ -353,7 +353,7 @@ public function testFilterFormatPreSave() { )); $crazy_format->save(); // Use config to directly load the configuration and check that only enabled - // or customised plugins are saved to configuration. + // or customized plugins are saved to configuration. $filters = \Drupal::config('filter.format.crazy')->get('filters'); $this->assertEqual(array('filter_html_escape', 'filter_html'), array_keys($filters)); diff --git a/core/modules/system/src/Tests/Entity/ConfigEntityImportTest.php b/core/modules/system/src/Tests/Entity/ConfigEntityImportTest.php index c8295d6..96d7197 100644 --- a/core/modules/system/src/Tests/Entity/ConfigEntityImportTest.php +++ b/core/modules/system/src/Tests/Entity/ConfigEntityImportTest.php @@ -117,10 +117,10 @@ protected function doFilterFormatUpdate() { } /** - * Filters an array of filters to only include customised filters. + * Filters an array of filters to only include customized filters. * * @param array $filters - * An array fo filter plugin configuration keyed by plugin ID. + * An array of filter plugin configurations keyed by plugin ID. * * @return array * The filtered array of filters.