Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Fox example:
- $this->assertFalse(in_array('t3', $cids), "Existing key 3 has been removed from &\$cids");
- $this->assertTrue(in_array('t4', $cids), "Non existing key 4 is still in &\$cids");
+ $this->assertNotContains('t3', $cids);
+ $this->assertContains('t4', $cids);
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | facets_replace-in_array-with-assertContains-3153233.patch | 708 bytes | gena.io |
Comments
Comment #2
gena.io CreditAttribution: gena.io at AnyforSoft commentedComment #3
gena.io CreditAttribution: gena.io at AnyforSoft commentedComment #5
borisson_