collision d'unicite * -> ClientProcessor traduit la UniqueConstraintViolationException en 409. */ public function testRestoreConflictReturns409(): void { $client = $this->createAdminClient(); $archived = $this->seedClient('Acme Conflict', true); $this->seedClient('Acme Conflict', false); $client->request('PATCH', '/api/clients/'.$archived->getId(), [ 'headers' => ['Content-Type' => self::MERGE], 'json' => ['isArchived' => false], ]); self::assertResponseStatusCodeSame(409); } }