Problem/Motivation
As title.
Proposed resolution
For example:
- $this->assertTrue(stristr($top_form_elements[0]->getText(), 'Title field is required.') !== FALSE);
+ $this->assertStringContainsString('Title field is required.', $top_form_elements[0]->getText());
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3155761-2.patch | 968 bytes | hardik_patel_12 |
Comments
Comment #2
hardik_patel_12 commentedKindly review a patch.
Comment #3
longwaveOnly one instance of stristr() in assertions and this one doesn't look to need to be case insensitive, so this is good to go.
Comment #5
catchCommitted/pushed to 9.1.x, thanks!