Fix tests
This commit is contained in:
parent
3a80e3bcee
commit
e5c2599846
|
|
@ -109,7 +109,12 @@ class Participant extends Model implements Preventable
|
|||
/** @return array<string, mixed> */
|
||||
public function toSearchableArray(): array
|
||||
{
|
||||
return [...$this->data, 'parent-id' => $this->parent_id, 'created_at' => $this->created_at->timestamp];
|
||||
return [
|
||||
...$this->data,
|
||||
'parent-id' => $this->parent_id,
|
||||
'created_at' => $this->created_at->timestamp,
|
||||
'cancelled_at' => $this->cancelled_at
|
||||
];
|
||||
}
|
||||
|
||||
public function matchesCondition(Condition $condition): bool {
|
||||
|
|
|
|||
Loading…
Reference in New Issue