db constraint with unique remoteId if set, handle sync with tests

This commit is contained in:
2022-06-10 00:26:16 +02:00
parent f149b24802
commit c92077926e
14 changed files with 957 additions and 332 deletions

View File

@@ -23,7 +23,7 @@ use Psr\Log\LoggerInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/**
* Handle notification of chagnes from MSGraph
* Handle notification of chagnes from MSGraph.
*
* @AsMessageHandler
*/
@@ -97,7 +97,7 @@ class MSGraphChangeNotificationHandler implements MessageHandlerInterface
$this->remoteToLocalSyncer->handleInviteSync($invite, $notification, $user);
$this->em->flush();
} else {
$this->logger->info(__CLASS__." id not found in any calendar, calendar range nor invite");
$this->logger->info(__CLASS__ . ' id not found in any calendar, calendar range nor invite');
}
}
}