Skip to content

Commit

Permalink
feat(ZMS-3460): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manjencic committed Jan 23, 2025
1 parent ec8569b commit 94a1a88
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,4 +421,14 @@ private static function isValidCustomTextfield(?string $customTextfield): bool
{
return $customTextfield === null || (is_string($customTextfield) && strlen(trim($customTextfield)) > 0);
}

private static function isValidOfficeId(?int $officeId): bool
{
return !empty($officeId) && $officeId > 0;
}

private static function isValidServiceId(?int $serviceId): bool
{
return !empty($serviceId) && $serviceId > 0;
}
}

0 comments on commit 94a1a88

Please sign in to comment.