diff --git a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php index bc5e837ced5fa55058a7097b3f8d7bf677183775..448351ba821435b74e3319696dc2ab62b0c525f3 100644 --- a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php +++ b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php @@ -95,7 +95,7 @@ public function testXmlElementToRows(): void { */ public function testConvertTestCaseToSimpletestRow(string $junitXmlString, array $expectedSimpletestRow): void { $this->assertEquals($expectedSimpletestRow, JUnitConverter::convertTestCaseToSimpletestRow($expectedSimpletestRow['test_id'], new \SimpleXMLElement($junitXmlString))); - $this->assertLessThanOrEqual(255, strlen($expectedSimpletestRow['function']), 'Function value is less than or equal to 255'); + $this->assertLessThanOrEqual(255, strlen($expectedSimpletestRow['function'])); } /**