auth tests

This commit is contained in:
Giuseppe Naponiello
2026-06-22 14:31:44 +02:00
parent 34a8ebc6fb
commit cc4e174880
75 changed files with 4679 additions and 168 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace App\Exceptions;
use RuntimeException;
/**
* Sollevata quando si tenta di anonimizzare/eliminare l'utente di sistema,
* che deve restare sempre presente come destinatario dei contenuti riassegnati.
*/
class CannotDeleteSystemUserException extends RuntimeException
{
public static function make(): self
{
return new self('The system user cannot be deleted.');
}
}