diff options
author | catch <6915-catch@users.noreply.drupalcode.org> | 2025-07-10 17:55:51 +0100 |
---|---|---|
committer | catch <6915-catch@users.noreply.drupalcode.org> | 2025-07-10 17:55:51 +0100 |
commit | dc78d9b52b244ac6e6d7f95ee8e2a55cc6400d5a (patch) | |
tree | df89408b825b1e0811de7ee4095a121b7687ac3e /core/modules/language/tests/src/Kernel | |
parent | 054568a1f05585fa9e18f386cd6c0ae6f8985b8e (diff) | |
download | drupal-11.x.tar.gz drupal-11.x.zip |
Issue #3513596 by quietone, jonathan1055, smustgrave: Fix 'Drupal.Commenting.InlineComment.InvalidEndChar' coding standard, pt 1HEAD11.x
Diffstat (limited to 'core/modules/language/tests/src/Kernel')
-rw-r--r-- | core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php | 4 | ||||
-rw-r--r-- | core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentSettingsTest.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php b/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php index 19a74112e61..6b1949a72aa 100644 --- a/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php +++ b/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php @@ -66,7 +66,7 @@ class LanguageConditionTest extends KernelTestBase { // Check for the proper summary. $this->assertEquals('The language is Italian.', $condition->summary()); - // Negate the condition + // Negate the condition. $condition->setConfig('negate', TRUE); $this->assertTrue($condition->execute(), 'Language condition passes as expected.'); // Check for the proper summary. @@ -89,7 +89,7 @@ class LanguageConditionTest extends KernelTestBase { // Check for the proper summary. $this->assertEquals('The language is Italian.', $condition->summary()); - // Negate the condition + // Negate the condition. $condition->setConfig('negate', TRUE); $this->assertFalse($condition->execute(), 'Language condition fails as expected.'); // Check for the proper summary. diff --git a/core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentSettingsTest.php b/core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentSettingsTest.php index 28da2b80249..da4bd0750c5 100644 --- a/core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentSettingsTest.php +++ b/core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentSettingsTest.php @@ -76,7 +76,7 @@ class MigrateLanguageContentSettingsTest extends MigrateDrupal7TestBase { $this->assertSame($config->get('default_langcode'), 'und'); // Assert that a content type without a 'language_content_type' variable is - // not translatable + // not translatable. $config = ContentLanguageSettings::loadByEntityTypeBundle('node', 'book'); $this->assertTrue($config->isDefaultConfiguration()); $this->assertFalse($config->isLanguageAlterable()); |