feat(documents) : add migration for type column with data classification
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -290,10 +290,13 @@ abstract class AbstractApiTestCase extends ApiTestCase
|
||||
return $machine;
|
||||
}
|
||||
|
||||
protected function createComposant(string $name = 'Composant Test', ?ModelType $type = null): Composant
|
||||
protected function createComposant(string $name = 'Composant Test', ?string $reference = null, ?ModelType $type = null): Composant
|
||||
{
|
||||
$c = new Composant();
|
||||
$c->setName($name);
|
||||
if (null !== $reference) {
|
||||
$c->setReference($reference);
|
||||
}
|
||||
if (null !== $type) {
|
||||
$c->setTypeComposant($type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user