Fix tests
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2025-11-11 02:47:40 +01:00
parent ae0aa30edf
commit 4f287c890b
1 changed files with 6 additions and 1 deletions

View File

@ -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 {