Fix tests

This commit is contained in:
philipp lang 2025-11-11 02:47:40 +01:00
parent 3a80e3bcee
commit e5c2599846
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> */ /** @return array<string, mixed> */
public function toSearchableArray(): array 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 { public function matchesCondition(Condition $condition): bool {