diff --git a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php index f0abdd9..aea4d64 100644 --- a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php +++ b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php @@ -99,7 +99,7 @@ public function testPrint() { $this->assertSelectEquals('div#example-id', '', 1, $html); $this->assertSelectEquals('div#example-id2', '', 0, $html); - $this->assertTrue(strpos($html, 'enabled') === 0); + $this->assertTrue(strpos($html, 'enabled') !== FALSE); } /** @@ -111,4 +111,4 @@ public function testStorage() { $this->assertEquals(array('class' => new AttributeArray('class', array('example-class'))), $attribute->storage()); } -} +}