Mercurial > hg > isophonics-drupal-site
view core/modules/locale/tests/src/Kernel/LocaleDeprecationsTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
line wrap: on
line source
<?php namespace Drupal\Tests\locale\Kernel; use Drupal\KernelTests\KernelTestBase; /** * Tests deprecations in the locale module. * * @group locale * @group legacy */ class LocaleDeprecationsTest extends KernelTestBase { /** * Modules to enable. * * @var array */ public static $modules = ['locale', 'system']; /** * @expectedDeprecation locale_translation_manual_status() is deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. It is unused by Drupal core. Duplicate this function in your own extension if you need its behavior. */ public function testLocaleTranslationManualStatusDeprecation() { module_load_include('pages.inc', 'locale'); $this->assertNotNull(\locale_translation_manual_status()); } }