],
]);
$savedSearch = $this->callAPISuccessGetSingle('SavedSearch', []);
- $this->assertContains('6', array_keys($savedSearch['form_values']));
+ $this->assertContainsEquals('6', array_keys($savedSearch['form_values']));
$this->assertEquals('membership_join_date_relative', $savedSearch['form_values'][6][0]);
$this->assertEquals('this.day', $savedSearch['form_values'][6][2]);
- $this->assertContains('7', array_keys($savedSearch['form_values']));
+ $this->assertContainsEquals('7', array_keys($savedSearch['form_values']));
$this->assertEquals('membership_start_date_relative', $savedSearch['form_values'][7][0]);
$this->assertEquals('this.week', $savedSearch['form_values'][7][2]);
- $this->assertContains('8', array_keys($savedSearch['form_values']));
+ $this->assertContainsEquals('8', array_keys($savedSearch['form_values']));
$this->assertEquals('membership_end_date_relative', $savedSearch['form_values'][8][0]);
$this->assertEquals('this.week', $savedSearch['form_values'][8][2]);
}