mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
test: add WatchlistUpdateProcessor tests
This commit is contained in:
@@ -45,7 +45,7 @@ readonly class WatchListUpdateProcessor implements ProcessorInterface
|
||||
{
|
||||
/** @var User $user */
|
||||
$user = $this->security->getUser();
|
||||
$data->setUser($user);
|
||||
$data->setUser($user)->setToken($uriVariables['token'] ?? $data->getToken());
|
||||
|
||||
if ($this->parameterBag->get('limited_features')) {
|
||||
if ($data->getDomains()->count() > (int) $this->parameterBag->get('limit_max_watchlist_domains')) {
|
||||
|
||||
Reference in New Issue
Block a user