summaryrefslogtreecommitdiffstats
path: root/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/field/src/Tests/Boolean/BooleanFieldTest.php')
-rw-r--r--core/modules/field/src/Tests/Boolean/BooleanFieldTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php b/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php
index 2364a8a..31f2c05 100644
--- a/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php
+++ b/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php
@@ -115,7 +115,7 @@ class BooleanFieldTest extends WebTestBase {
$display = entity_get_display($entity->getEntityTypeId(), $entity->bundle(), 'full');
$content = $display->build($entity);
$this->setRawContent(\Drupal::service('renderer')->renderRoot($content));
- $this->assertRaw('<div class="field-item">' . $on . '</div>');
+ $this->assertRaw('<div class="field__item">' . $on . '</div>');
// Test if we can change the on label.
$on = $this->randomMachineName();