test: add Domain unit tests

This commit is contained in:
Maël Gangloff
2025-09-09 19:43:35 +02:00
parent f07f95d0c3
commit 477bf36893
14 changed files with 558 additions and 392 deletions

View File

@@ -366,7 +366,7 @@ class Domain
*
* @throws \Exception
*/
private function isToBeWatchClosely(): bool
protected function isToBeWatchClosely(): bool
{
$status = $this->getStatus();
if ((!empty($status) && count(array_intersect($status, self::IMPORTANT_STATUS))) || $this->getDeleted()) {