mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-08-03 15:11:40 +00:00
fix test
This commit is contained in:
parent
1632424fa5
commit
b930816879
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue