Closed (fixed)
Project:
Facets
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
19 Jun 2020 at 11:49 UTC
Updated:
25 Aug 2020 at 06:29 UTC
Jump to comment: Most recent, Most recent file
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);
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | facets_replace-in_array-with-assertContains-3153233.patch | 708 bytes | gena.io |
Comments
Comment #2
gena.io commentedComment #3
gena.io commentedComment #5
borisson_