Work with DatabaseException in UserDeletedRepository

This commit is contained in:
Art4 2025-04-15 14:48:01 +00:00
parent 2879db12dc
commit e4a93fc9c7
5 changed files with 20 additions and 18 deletions

View file

@ -43,7 +43,7 @@ trait CreateDatabaseTrait
]));
$database = new StaticDatabase($config, (new DbaDefinition($this->root->url()))->load(), (new ViewDefinition($this->root->url()))->load());
$database->setTestmode(true);
$database->throwExceptionsOnErrors(true);
return $database;
}