test(constructeur) : update test helpers and MCP tests for ConstructeurLinks
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -30,9 +30,7 @@ class ComposantsCrudToolTest extends AbstractApiTestCase
|
||||
$modelType = $this->createModelType(name: 'Type Composant', code: 'TC-001', category: ModelCategory::COMPONENT);
|
||||
$composant = $this->createComposant(name: 'Composant Gamma', type: $modelType);
|
||||
|
||||
// Add constructeur to composant
|
||||
$composant->addConstructeur($constructeur);
|
||||
$this->getEntityManager()->flush();
|
||||
$this->createComposantConstructeurLink($composant, $constructeur);
|
||||
|
||||
$session = $this->createMcpClient('ROLE_VIEWER');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user