Closed (fixed)
Project:
Rules
Version:
8.x-3.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2019 at 17:54 UTC
Updated:
24 Jul 2020 at 08:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jonathan1055 commentedWe can replace
assertTrue($this->xpath( ... )withelementExists('xpath', ... )In local testing the deprecation warnings are no longer shown.
Comment #3
tr commentedI think we can do this now ... testing with 8.6/PHP 5.5 to be sure ...
Also, the test result messages that are no longer needed should be added as a comment above the replacement code - I like to keep any documentation/explanation whenever possible, as it makes the code easier to read and follow and makes the intent of the code clear.
Comment #4
jonathan1055 commentedI thought that the existing two-line comment above each pair of assertions covered both, e.g.
was enough to cover the loss of "The entry field is plain text input."
But I can re-do the patch with separate comments for each assertion if that's what you prefer.
Comment #6
tr commentedI see. Thanks. Committed.
Comment #8
jonathan1055 commentedUnassigning