diff --git a/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php b/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php index 4350d10..4344801 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php @@ -51,7 +51,7 @@ function testTokenReplacement() { // Test that the clear parameter cleans out non-existent tokens. $result = $token_service->replace($source, array('node' => $node), array('langcode' => $language_interface->id, 'clear' => TRUE)); - $result = $this->assertEqual($target, $result, 'Valid tokens replaced while invalid tokens cleared out.'); + $this->assertEqual($target, $result, 'Valid tokens replaced while invalid tokens cleared out.'); // Test without using the clear parameter (non-existent token untouched). $target .= '[user:name]';