This commit is contained in:
buchmann 2026-07-27 11:28:25 +02:00
parent 1632424fa5
commit b930816879

View file

@ -225,7 +225,7 @@ final class ProjectBuildHelperTest extends WebTestCase
$entry2 = new ProjectBOMEntry();
$entry2->setPart(new Part());
$entry2->setQuantity(2);
$subproject->setBuildPart($entry2);
$subproject->setBuildPart($entry2->getPart());
$project->addBomEntry($entry2);
// 4 × 1.50 + 2 x (2 x 3.5) = 20.00 for 1 build