Closed (duplicate)
Project:
Drupal core
Version:
9.1.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Mar 2020 at 14:13 UTC
Updated:
14 May 2020 at 07:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mondrakeLet's start with a deprecation trigger and see what neeeds to be fixed. This is a good novice task - note though that the replacement should use the best assertion possible, not just
::assertTrue. For example, thisreturn $this->assert(empty($links), $message, $group);should be converted as
return $this->assertEmpty($links, $message, $group);while
$this->assert(strpos($content, implode(' ', $expected)) !== FALSE, 'Form alter hooks executed in the expected order.');as
$this->assertStringContainsString(implode(' ', $expected), $content, 'Form alter hooks executed in the expected order.');Comment #3
mondrakeComment #5
neslee canil pintoComment #7
tdnshah commentedComment #8
tdnshah commentedDuplicate of the issue marked as parent issue. Also a patch in parent issue resolves this https://www.drupal.org/project/drupal/issues/3129002#comment-13612418
futher discussion can be handled over there hence marking this once as fixed
Thank you
Comment #9
mondrakeClosed duplicate is more appropriate in this case.