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 PiecesCrudToolTest extends AbstractApiTestCase
|
||||
$modelType = $this->createModelType(name: 'Type Piece', code: 'TP-001', category: ModelCategory::PIECE);
|
||||
$piece = $this->createPiece(name: 'Piece Gamma', reference: 'REF-001', type: $modelType);
|
||||
|
||||
// Add constructeur to piece
|
||||
$piece->addConstructeur($constructeur);
|
||||
$this->getEntityManager()->flush();
|
||||
$this->createPieceConstructeurLink($piece, $constructeur);
|
||||
|
||||
$session = $this->createMcpClient('ROLE_VIEWER');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user